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


##########
accord-core/src/main/java/accord/impl/InMemoryCommand.java:
##########
@@ -218,21 +230,23 @@ public Status status()
     }
 
     @Override
-    public void status(Status status)
+    public void setStatus(Status status)
     {
         this.status = status;
     }
 
     @Override
-    public boolean isGloballyPersistent()
+    public Durability durability()
     {
-        return isGloballyPersistent;
+        if (status.hasBeen(PreApplied) && durability == NotDurable)

Review Comment:
   `PreApplied` is locally durable, yes. The outcome of the transaction is 
recorded on this host, it just is not yet reflected in the data table.



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