RE: how expensive is light weight transaction: if not exists

2016-04-27 Thread Jacques-Henri Berthemet
@cassandra.apache.org Subject: how expensive is light weight transaction: if not exists hi all, we like to consider using light weight transaction like the following: begin batch: update table set x=y where id=A if not exists; update table set x=y where id=B if not exists; update table set x=y where id=C if not exists

how expensive is light weight transaction: if not exists

2016-04-27 Thread Jimmy Lin
hi all, we like to consider using light weight transaction like the following: begin batch: update table set x=y where id=A if not exists; update table set x=y where id=B if not exists; update table set x=y where id=C if not exists; update table set x=y where id=D if not exists; apply batch (using