incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: Effect of RangeQuery with RandomPartitioner
Date Sat, 07 Jul 2012 14:17:06 GMT
On Sat, Jul 7, 2012 at 9:26 AM, prasenjit mukherjee
<prasen.bea@gmail.com> wrote:
> Wondering how a rangequery request is handled if RP is used.  Will the
> receiving node do a fan-out to all the nodes in the ring or it will
> just execute the rangequery on its own local partition ?
>
> -Prasenjit

With RP the data is still ordered. It is ordered pseudo randomly. Like
all ranging scanning you can start with the null start row key for
your first range scan. Then for the next range scan use the last row
key from your results from the first scan.

Mime
View raw message