Hi guys,

I want to take a row with primary key K1, rewrite it with primary key K2,
and delete the original data with key K1, atomically.

It seems like the only solution which won't have race conditions is to use
batch statement to delete the old row and insert the new one. But the
documentation of batch operation makes me nervous. The specific parts in
docs are the ones which say that all nodes in your cluster become stressed
if you use logged batches(default one).

Is it a solved problem already?
Cheers,
Ajaya

Reply via email to