dcapwell commented on code in PR #4362:
URL: https://github.com/apache/cassandra/pull/4362#discussion_r2319825252
##########
src/java/org/apache/cassandra/service/accord/txn/TxnQuery.java:
##########
@@ -119,7 +119,7 @@ public Result doCompute(TxnId txnId, Timestamp executeAt,
Seekables<?, ?> keys,
AccordUpdate accordUpdate = (AccordUpdate)update;
TxnData txnData = (TxnData)data;
- boolean conditionCheck = accordUpdate.checkCondition(data);
+ boolean conditionCheck = accordUpdate.checkAnyConditionMatch(data);
Review Comment:
think i should likely rename this to call out its really only safe for CAS
since it has 1 condition
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]