Cassandra: retry CAS loop for transactions