Sylvain Lebresne created CASSANDRA-13069:
--------------------------------------------
Summary: Local batchlog for MV may not be correctly written on
node movements
Key: CASSANDRA-13069
URL: https://issues.apache.org/jira/browse/CASSANDRA-13069
Project: Cassandra
Issue Type: Bug
Reporter: Sylvain Lebresne
Assignee: Paulo Motta
Unless I'm really reading this wrong, I think the code
[here|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/service/StorageProxy.java#L829-L843],
which comes from CASSANDRA-10674, isn't working properly.
More precisely, I believe we can have both paired and unpaired mutations, so
that both {{if}} can be taken, but if that's the case, the 2nd write to the
batchlog will basically overwrite (remove) the batchlog write of the 1st {{if}}
and I don't think that's the intention. In practice, this means "paired"
mutation won't be in the batchlog, which mean they won't be replayed at all if
they fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)