I have a setup that looks like this

Dc1: 9 nodes
Dc2: 9 nodes
Dc3: 9 nodes
C* version: 2.0.10
RF: 2 in each DC
Empty CF with no data at the beginning of the test

Scenario 1 (happy path): I connect to a node in DC1 using CQLsh, validate that 
I am using CL=1, insert 10 rows.
Then using CQLsh connect to one node in each of the 3 DCs and with CL=1, select 
* on the table, each DC shows all 10 rows.

Scenario 1: using a program based on datastax drivers, write 10 rows to DC1. 
The program uses CL=1, also does a read after write.
Then using CQLsh connect to one node in each of the 3 DCs and with CL=1 or 
LocalQuorum, select * on the table,
DC1 shows all 10 rows.
DC2 shows 8 or 9 rows
DC3 shows 8 or 9 rows 
The missing rows never show up in DC2 and DC3 unless I do a CQLsh lookup with 
CL=all

Why is there a difference in the replication between writes performed using the 
datastax drivers and while using CQLsh?


Rahul

Reply via email to