mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 17:10:35 +00:00
The change to use consistency_level::ONE in send_batchlog_mutation sort of fixes #478, but is not 100% correct. When doing async_remove_from_batchlog, the CL is actually supposed to be ANY. Also, we should _not_ remove the batch log mutation from any nodes if the mutate fails, since having it there in case of failure is sort of the whole point of it. I.e. async_remove_from_batchlog should not be called from a "finally", but from a "then". Refs #478