aweisberg commented on code in PR #101:
URL: https://github.com/apache/cassandra-accord/pull/101#discussion_r1663198881


##########
accord-core/src/main/java/accord/local/Bootstrap.java:
##########
@@ -232,8 +233,10 @@ private void started(SafeToRead state, @Nullable Timestamp 
maxApplied)
                         state.startedAt = logicalClock++;
                 }
                 // TODO (expected): associate callbacks with this 
CommandStore, to remove synchronization
-                FetchMaxConflict.fetchMaxConflict(node, state.ranges)
-                                .begin((executeAt, failure) -> 
safeToReadCallback(state, executeAt, failure));
+                FetchMaxConflict.fetchMaxConflict(node, store, state.ranges)
+                                .begin((executeAt, failure) -> {
+                                    store.execute(() -> 
safeToReadCallback(state, executeAt, failure));

Review Comment:
   Updated to use `maybeExecuteImmediately`



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