cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: MultigetSliceQuery count 1 returning multiple results
Date Wed, 04 Jul 2012 09:56:31 GMT
> Cassandra: 1.1.0-SNAPSHOT
Does it happen on an official release ?

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 3/07/2012, at 4:53 AM, Owen Davies wrote:

> 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