bdeggleston commented on code in PR #1948:
URL: https://github.com/apache/cassandra/pull/1948#discussion_r1009842965


##########
src/java/org/apache/cassandra/service/accord/async/AsyncWriter.java:
##########
@@ -238,7 +240,7 @@ private void denormalize(AccordCommand command, 
AsyncContext context, Object cal
         }
 
         // There won't be a txn to denormalize against until the command has 
been preaccepted
-        if (command.status().hasBeen(Status.PreAccepted) && 
AccordPartialCommand.WithDeps.serializer.needsUpdate(command))
+        if (command.status().hasBeen(Status.PreAccepted) && 
AccordPartialCommand.WithDeps.serializer.needsUpdate(command) && 
!(command.txn() == null && command.status().isInvalidated()))

Review Comment:
   yep makes sense, nevermind



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