Re: questions on frequency and timing of async replication between DCs

2011-11-15 Thread Subrahmanya Harve
Thank you Konstantin,Radim. Appreciate your responses. On Mon, Nov 14, 2011 at 11:27 PM, Radim Kolar wrote: > > It may be the case that your CL is the issue. You are writing it at >> ONE, which means that out of the 4 replicas of that key (two in each >> data center), you are only putting it on

Re: questions on frequency and timing of async replication between DCs

2011-11-14 Thread Radim Kolar
It may be the case that your CL is the issue. You are writing it at ONE, which means that out of the 4 replicas of that key (two in each data center), you are only putting it on one of them. cassandra will always try to replicate key to all available replicas. Under normal conditions if you do

Re: questions on frequency and timing of async replication between DCs

2011-11-14 Thread Konstantin Naryshkin
It may be the case that your CL is the issue. You are writing it at ONE, which means that out of the 4 replicas of that key (two in each data center), you are only putting it on one of them. When you read at CL ONE, if only looks at a single replica to see if the data is there. In other words. If y

Re: questions on frequency and timing of async replication between DCs

2011-11-11 Thread Subrahmanya Harve
If i query by list command, i do see the data i am looking for. Interestingly, if do list on each of the nodes using cli, i get back a different number of rows! i did not want to query by ALL because of 2 reasons - 1. It might take too long to return. 2 it might not return me anything just because

Re: questions on frequency and timing of async replication between DCs

2011-11-11 Thread Jeremiah Jordan
If you query with ALL do you get the data? If you query with a range slice do you get the data (list from the cli)? On 11/11/2011 04:10 PM, Subrahmanya Harve wrote: I have cross dc replication set up using 0.8.7 with 3 nodes on each DC by following the +1 rule for tokens. I am seeing an issu

questions on frequency and timing of async replication between DCs

2011-11-11 Thread Subrahmanya Harve
I have cross dc replication set up using 0.8.7 with 3 nodes on each DC by following the +1 rule for tokens. I am seeing an issue where the insert into a DC happened successfully but on querying from cli or through Hector, i am not seeing the data being returned. i used cli on every node of both DCs