row level atomicity and isolation

2018-05-16 Thread Rajesh Kishore
Hi, I am just curious to know when Cassandra doc says the atomicity and isolation is guaranteed for a row. Does it mean, two requests updating a row- "R1" at different replica will be candidate for atomicity and isolation? For instance , I have a setup where RF is 2 I have a client application wh

Re: Suggestions for migrating data from cassandra

2018-05-16 Thread Jing Meng
We would try migration for some small keyspaces (with data of serveral gigabytes across a dc) first, but ultimately migration for several large keyspaces with data size ranged from 100G to 5T, some tables having >1T data, would be scheduled too. As for StreamSets/Talend, personally I doubt if usin

Cassandra java driver linux encoding issue

2018-05-16 Thread rami dabbah
Hi, I am trying to query text filed from Cassandra using java driver see code below. In windows it is working fine but in linux i am getting ?? instead of Chines characteres Code: ResultSet shopsRS = this.cassandraDAO.getshopsFromScanRawByScanId(cassandraSession,"scan_raw",scanid); Stri

Re: row level atomicity and isolation

2018-05-16 Thread kurt greaves
Atomicity and isolation are only guaranteed within a replica. If you have multiple concurrent requests across replicas last timestamp will win. You can get better isolation using LWT which uses paxos under the hood. On 16 May 2018 at 08:55, Rajesh Kishore wrote: > Hi, > > I am just curious to kn

Re: row level atomicity and isolation

2018-05-16 Thread Rajesh Kishore
ok got it. So, only using LWT txn the updates across nodes for a particular row can be isolated, so basically paxos would ensure serializable isolation Thanks, Rajesh On Wed, May 16, 2018 at 4:56 PM, kurt greaves wrote: > Atomicity and isolation are only guaranteed within a replica. If you hav