aweisberg commented on code in PR #2963:
URL: https://github.com/apache/cassandra/pull/2963#discussion_r1420632196


##########
src/java/org/apache/cassandra/service/accord/AccordKeyspace.java:
##########
@@ -363,6 +363,7 @@ public static Row truncatedApply(SaveStatus newSaveStatus, 
Row row, long nowInSe
             // If durability is not universal we don't want to delete older 
versions of the row that might have recorded
             // a higher durability value. maybeDropTruncatedCommandColumns 
will take care of dropping things even if we don't drop via tombstones.
             // durability should be the only column that could have an older 
value that is insufficient for propagating forward
+            // TODO (now): with UniversalOrInvalidated should this change?
             boolean doDeletion = durability == Durability.Universal;

Review Comment:
   Maybe the `Durability` enum should have `isSafeToPurge` and we can just ask 
it?



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