tkalkirill commented on code in PR #2399:
URL: https://github.com/apache/ignite-3/pull/2399#discussion_r1282625638


##########
modules/raft/src/main/java/org/apache/ignite/internal/raft/RaftGroupServiceImpl.java:
##########
@@ -702,6 +702,8 @@ private Peer randomNode(@Nullable Peer excludedPeer) {
             if (newIdx != lastPeerIndex) {
                 Peer peer = peers0.get(newIdx);
 
+                assert peer != null : peers0.toString();

Review Comment:
   ```suggestion
                   assert peer != null : "idx=" + newIdx + ", peers=" + peers0;
   ```



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

Reply via email to