belliottsmith commented on code in PR #222:
URL: https://github.com/apache/cassandra-accord/pull/222#discussion_r2211574118
##########
accord-core/src/main/java/accord/impl/progresslog/DefaultProgressLog.java:
##########
@@ -333,7 +333,7 @@ public void clearBefore(SafeCommandStore safeStore, TxnId
clearWaitingBefore, Tx
{
// the command might be invalidated, which should be
established on load, so simply load the command
TxnId txnId = state.txnId;
- safeStore.commandStore().execute(txnId, safeStore0 -> {
+
safeStore.commandStore().execute(PreLoadContext.contextFor(txnId, "Clear
Progress"), safeStore0 -> {
Review Comment:
Right, these should become statically allocated lambdas, as they are
non-capturing. That's the reason for the slight hoops I jump through rather
than having a static method. Whether it's worth it is another matter!
--
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]