belliottsmith commented on code in PR #187:
URL: https://github.com/apache/cassandra-accord/pull/187#discussion_r2121820124
##########
accord-core/src/main/java/accord/coordinate/ExecuteTxn.java:
##########
@@ -236,8 +236,9 @@ protected void onDone(Success success, Throwable failure)
executeAt = new TimestampWithUniqueHlc(executeAt, uniqueHlc);
}
- Writes writes = txnId.is(Txn.Kind.Write) ? txn.execute(txnId,
executeAt, data) : null;
+ // Always compute Result before Write
Review Comment:
I meant in the code comment for posterity, but thanks I did also want to
know 🙂
--
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]