ifesdjeen commented on code in PR #204:
URL: https://github.com/apache/cassandra-accord/pull/204#discussion_r2149630513


##########
accord-core/src/main/java/accord/topology/TopologyManager.java:
##########
@@ -1191,7 +1191,8 @@ private static long validateMax(long maxEpoch, Epochs 
snapshot)
             return snapshot.currentEpoch;
 
         Invariants.require(snapshot.currentEpoch >= maxEpoch, "current epoch 
%d < provided max %d", snapshot.currentEpoch, maxEpoch);
-        Invariants.require(snapshot.minEpoch() <= maxEpoch, "minimum known 
epoch %d > provided max %d", snapshot.minEpoch(), maxEpoch);
+        if (snapshot.minEpoch() > maxEpoch)

Review Comment:
   (my mistake, flipped arguments)



-- 
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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to