belliottsmith commented on code in PR #33:
URL: https://github.com/apache/cassandra-accord/pull/33#discussion_r1116959858
##########
accord-core/src/main/java/accord/impl/InMemoryCommandStore.java:
##########
@@ -629,6 +629,8 @@ public <T> T mapReduce(Seekables<?, ?> keysOrRanges, Ranges
slice, TestKind test
Map<Range, List<Command>> collect = new TreeMap<>(Range::compare);
commandStore.rangeCommands.forEach(((txnId, rangeCommand) -> {
Command command = rangeCommand.command.value();
+ if (command == null)
Review Comment:
I don't think this should ever be null, so we might want to look more
closely into why this happens?
--
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]