Job*_*obs 1 transaction-isolation cassandra
我有一个在cql中创建的表:
create table isolation_demo(key text,column1 text,column2 text,column3 text ,primary key(key,column1,column2));
Run Code Online (Sandbox Code Playgroud)
我批量发表了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;
Run Code Online (Sandbox Code Playgroud)
这两个语句共享相同的分区键.(key = 1),但不同的聚类列值.这两个陈述是否会被孤立?
| 归档时间: |
|
| 查看次数: |
783 次 |
| 最近记录: |