SzyWilliam opened a new pull request, #7133: URL: https://github.com/apache/iotdb/pull/7133
When ConfigNode or DataNode calls `Consensus.createPeer` twice with exact groupID, `RatisConsensus` will allow the second `createPeer` to be executed. This will cause unexpected errors, as overlapping files could interfere each other. In this PR I propose to add a pre-condition check in `createPeer` so that the same Peer will not be created twice on one node. -- 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]
