Re: strange get_range_slices behaviour v0.6.1

2010-05-04 Thread aaron
Thanks Jonathan. After looking at the Lucandra code I realized my confusions has to do with get_range_slices and the RandomPartitioner. When I switched to the OPP I got the expected behaviour. I was noticing cases under the random partitioner where keys I expected to be returned were not.

Re: strange get_range_slices behaviour v0.6.1

2010-05-04 Thread Jonathan Ellis
On Tue, May 4, 2010 at 4:17 PM, aaron aa...@thelastpickle.com wrote: I was noticing cases under the random partitioner where keys I expected to be returned were not. Can you give a little advice on the expected behaviour of get_range_slices with the RP and I'll try to write a JUnit for it.

Re: strange get_range_slices behaviour v0.6.1

2010-05-03 Thread Jonathan Ellis
Util.range returns a Range object which is end-exclusive. (You want Bounds for end-inclusive.) On Sun, May 2, 2010 at 7:19 AM, aaron morton aa...@thelastpickle.com wrote: He there, I'm still getting odd behavior with get_range_slices. I've created a JUNIT test that illustrates the case. Could

Re: strange get_range_slices behaviour v0.6.1

2010-05-02 Thread aaron morton
He there, I'm still getting odd behavior with get_range_slices. I've created a JUNIT test that illustrates the case. Could someone take a look and either let me know where my understanding is wrong or is this is a real issue? I added the following to ColumnFamilyStoreTest.java private

Re: strange get_range_slices behaviour v0.6.1

2010-04-26 Thread aaron
I've broken this case down further to some pyton code that works against the thrift generated client and am still getting the same odd results. With keys obejct1, object2 and object3 an open ended get_range_slice starting with object1 only returns object1 and 2. I'm guessing that I've got