Cassandra row level isolation -
i have table created in cql :
create table isolation_demo(key text,column1 text,column2 text,column3 text ,primary key(key,column1,column2));
i have 2 statement in batch.
update isolation_demo set column3 ='abc' key =1 , column1 =1 , column2=1; delete isolation_demo key =1 , column1 =2 , column2=2;
here both statements share same partition key. (key=1), different clustering column values. these 2 statements isolated?
these queries must isolated, mentioned in c* docs here , here:
in versions of cassandra, possible see partial updates in row when 1 user updating row while user reading same row. example, if 1 user writing row 2 thousand columns, user potentially read same row , see of columns, not of them if write still in progress.
full row-level isolation in place, means writes row isolated client performing write , not visible other user until complete.
Comments
Post a Comment