-
Type:
Bug
-
Status: Resolved
-
Priority:
Normal
-
Resolution: Fixed
-
Component/s: Feature/Lightweight Transactions
-
Labels:
-
Severity:Normal
In C* 2.1,
int requiredParticipants = participants + 1 / 2; // See CASSANDRA-833
Will always return participants because of operator precedence. I am not sure just adding parentheses will fix the problem, though, as the original code differentiated between pending and natural endpoints.
int requiredParticipants = pendingEndpoints.size() + 1 + naturalEndpoints.size() / 2; // See CASSANDRA-833
- is broken by
-
CASSANDRA-8346 Paxos operation can use stale data during multiple range movements
-
- Resolved
-