1
我在CQL创建一个表:卡桑德拉行级隔离
create table isolation_demo(key text,column1 text,column2 text,column3 text ,primary key(key,column1,column2));
我有一个批次2语句。
update isolation_demo set column3 ='ABC' where key =1 and column1 =1 and column2=1;
delete from isolation_demo where key =1 and column1 =2 and column2=2;
这里两个语句共享相同的分区键。 (键= 1),但是不同的聚类列值。这两个陈述会被隔离吗?