frankgh commented on code in PR #4892:
URL: https://github.com/apache/cassandra/pull/4892#discussion_r3446464316


##########
src/java/org/apache/cassandra/db/Keyspace.java:
##########
@@ -628,11 +628,11 @@ private Future<?> applyInternalTracked(Mutation mutation, 
Promise<?> future)
             throw new RuntimeException("Testing write failures");
 
         boolean started;
-        try (WriteContext ctx = trackedWriteHandler.beginWrite(mutation, true))
+        try (WriteContext ctx = trackedWriteHandler.beginWrite(mutation, 
makeDurable))
         {
             started = 
MutationTrackingService.instance().startWriting(mutation);
 
-            if (started)
+            if (started || !makeDurable)

Review Comment:
   Do we need durable MT journal when `makeDurable=false`? I'm thinking mostly 
of the case where the schema is created with `durable_writes=false`



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