belliottsmith commented on code in PR #4111:
URL: https://github.com/apache/cassandra/pull/4111#discussion_r2102366216


##########
src/java/org/apache/cassandra/service/accord/txn/TxnQuery.java:
##########
@@ -217,6 +217,9 @@ public Result compute(TxnId txnId, Timestamp executeAt, 
Seekables<?, ?> keys, @N
                 
ClientRequestsMetricsHolder.accordWriteMetrics.accordMigrationRejects.mark();
             else
                 
ClientRequestsMetricsHolder.accordReadMetrics.accordMigrationRejects.mark();
+            // Prevent writes from being applied
+            if (update != null)
+                ((TxnUpdate)update).failCondition();

Review Comment:
   does a recovery coordinator always evaluate this the same way?



-- 
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]

Reply via email to