belliottsmith commented on code in PR #87:
URL: https://github.com/apache/cassandra-accord/pull/87#discussion_r1595406530


##########
accord-core/src/main/java/accord/local/SerializerSupport.java:
##########
@@ -285,14 +308,25 @@ else if (witnessed.contains(STABLE_FAST_PATH_REQ))
                 else
                 {
                     checkState(witnessed.contains(STABLE_SLOW_PATH_REQ), 
"Unable to find STABLE_SLOW_PATH_REQ; witnessed %s", new 
LoggedMessageProvider(messageProvider));
-                    if (witnessed.contains(COMMIT_SLOW_PATH_REQ))
+                    if (witnessed.contains(COMMIT_MAXIMAL_REQ))
+                    {
+                        commit = messageProvider.commitMaximal();
+                    }
+                    else if (witnessed.contains(COMMIT_SLOW_PATH_REQ))
                     {
                         commit = messageProvider.commitSlowPath();
                     }
+                    else if (witnessed.contains(PRE_ACCEPT_REQ) || 
witnessed.contains(BEGIN_RECOVER_REQ) || 
witnessed.contains(PROPAGATE_PRE_ACCEPT_MSG))
+                    {
+                        Commit slowPath = messageProvider.stableSlowPath();

Review Comment:
   should be `commitSlowPath`? We aren't meant to be stable here....



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