cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Davies <Owen.Dav...@logmein.com>
Subject MultigetSliceQuery count 1 returning multiple results
Date Mon, 02 Jul 2012 16:53:06 GMT
We are using hector.rb to do a MultigetSliceQuery over one row, with count 1. Most of the time
it works, but occasionally we are getting back 2 columns. Has anyone seen this before?

Cassandra: 1.1.0-SNAPSHOT
Hector: 1.0.2
Hector.rb: 0.0.1

Gem Code:

https://github.com/jashmenn/hector.rb/blob/master/lib/hector/hector.rb#L126

Example Query:

client.get_range(column_family, row_id, row_id, :start => time, :finish => (time - 1.day),
:count => 1, :reversed => true)
client.get_range(column_family, row_id, row_id, :start => time, :finish => (time + 1.day),
:count => 1)

Thanks,

Owen
Mime
View raw message