Re: Missing rows while scanning table using java driver

2016-02-03 Thread priyanka gugale
Thanks for all help. The problem was, my application was starting read process as soon as write is over. I guess due to eventual consistency of write in cassandra reader was missing records as they were still in process of writing. I will be using paging feature for processing than what I was doin

Re: Missing rows while scanning table using java driver

2016-02-03 Thread Jack Krupansky
CL=ALL has no benefit is RF=1. Your code snippet doesn't indicate how you initialize and update the token in the query. The ">" operator would assure that you skip the first token. -- Jack Krupansky On Wed, Feb 3, 2016 at 1:36 AM, Priyanka Gugale wrote: > Hi, > > I am using Cassandra 2.2.0 and

Re: Missing rows while scanning table using java driver

2016-02-02 Thread priyanka gugale
Thanks DuyHai for revert. There are going to be pauses between fetching pages. For that they do seem to have an option to save page state. I will try that out. -Priyanka On Wed, Feb 3, 2016 at 12:14 PM, DuyHai Doan wrote: > Why don't you use server-side paging feature instead of messing with >

Re: Missing rows while scanning table using java driver

2016-02-02 Thread DuyHai Doan
Why don't you use server-side paging feature instead of messing with tokens ? http://datastax.github.io/java-driver/manual/paging/ On Wed, Feb 3, 2016 at 7:36 AM, Priyanka Gugale wrote: > Hi, > > I am using Cassandra 2.2.0 and cassandra driver 2.1.8. I am trying to scan > a table as per suggest

Missing rows while scanning table using java driver

2016-02-02 Thread Priyanka Gugale
Hi, I am using Cassandra 2.2.0 and cassandra driver 2.1.8. I am trying to scan a table as per suggestions given here , On running the code to fetch records from table, it fetches different number of r

Re: Missing rows while scanning table using java driver

2016-02-02 Thread Ryan Svihla
Priyanka, This is a better question for the Cassandra user mailing list (cc’d above) which is where many experts in the use of Cassandra are subscribed, where as this list is more about improving or changing Cassandra itself. As to your issue, there can be many combined issues at once that are