cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Dunck <jdu...@gmail.com>
Subject Re: writes to Cassandra failing occasionally
Date Thu, 08 Apr 2010 18:46:39 GMT
On Thu, Apr 8, 2010 at 12:41 PM, Mike Gallamore
<mike.e.gallamore@googlemail.com> wrote:
> Hello. If you are doing exactly the same thing as N::C::Easy (ie a join on
> the gettimeofday). Then you should have the same problem I found a fix for.
> The problem is that the microseconds value isn't zero padded. So if you are
> at say 23s 25 micro seconds you get a date: 2325. not 23000025 which of
> course means that sometimes your next timestamp will be "older" than your
> previous one. Here is a patch to N::C::Easy that fixes this and hopefully a
> similar thing will fix your code.

All maintainers of competing libraries should be so helpful.  :-)

Mime
View raw message