Cyrill commented on code in PR #6850:
URL: https://github.com/apache/ignite-3/pull/6850#discussion_r2511197501


##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/NodeImpl.java:
##########
@@ -3701,11 +3768,16 @@ public Status resetPeers(final Configuration newPeers) {
                 LOG.warn("Node {} set peers need wait current conf changing.", 
getNodeId());
                 return new Status(RaftError.EBUSY, "Changing to another 
configuration");
             }
+
+            if (this.conf.getConf().getSequenceToken() > 
newPeers.getSequenceToken()) {
+                return staleConfiguration(newPeers.getSequenceToken());

Review Comment:
   fixed



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