dcapwell commented on code in PR #2245:
URL: https://github.com/apache/cassandra/pull/2245#discussion_r1161020839


##########
test/simulator/main/org/apache/cassandra/simulator/paxos/AbstractPairOfSequencesPaxosSimulation.java:
##########
@@ -209,6 +209,8 @@ public ActionPlan plan()
             public Action get()
             {
                 int[] primaryKeyIndex = consume(simulated.random, available);
+                if (primaryKeyIndex == null)

Review Comment:
   this should fix the issue where "consume" is empty, and by returning 
`Actions.empty` we don't halt the simulation



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