belliottsmith commented on code in PR #1951:
URL: https://github.com/apache/cassandra/pull/1951#discussion_r1014221087
##########
src/java/org/apache/cassandra/service/accord/async/AsyncWriter.java:
##########
@@ -201,7 +201,7 @@ AccordState<K> getForDenormalization(K key,
return item;
item = cache.getOrNull(key);
- if (item != null)
+ if (item != null && !cache.hasLoadFuture(key))
Review Comment:
My understanding is that the existence of a load future means the command
hasn't been loaded yet. I believe this is being refactored by Blake as we speak.
--
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]