Skip to content

[RatisConsensus] enforce the newly added peer have different endpoint#14517

Closed
SzyWilliam wants to merge 1 commit intoapache:masterfrom
SzyWilliam:check_ip_port
Closed

[RatisConsensus] enforce the newly added peer have different endpoint#14517
SzyWilliam wants to merge 1 commit intoapache:masterfrom
SzyWilliam:check_ip_port

Conversation

@SzyWilliam
Copy link
Member

Enforce the user to use RatisConsensus correctly.

@MiniSho
Copy link
Contributor

MiniSho commented Dec 24, 2024

Thanks for your contributions to IoTDB!
* .  * .' * ★ *  '*   *
*  . '  +:..:+   '  '  *
.   *  ☆☆☆ *   .
  *  ' +:...+....:+  *
'    ' ☆☆☆☆☆   * '  
 * * ' +:...:+@+:...:+    '  *
* .  .☆☆☆☆☆☆☆ * ' * .
  .  +:..:+&+:...:+:...:+
 * . ☆☆☆☆☆☆☆☆☆ * '   *
' .  +:...:+♡+:...:+§+:..:+
. * ☆☆☆☆☆☆☆☆☆☆☆  ' *
  .+:..:+♡+:..:+@+:..:+♡+:..:+
 .     . ▨   ' ' *     
(¸*♥Merry Christmas♥〃´`)

}

// pre-condition: peer should not have same ip address with any member already in the group
if (group.getPeers().stream()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

combine to line 554?

@SzyWilliam
Copy link
Member Author

Thanks @OneSizeFitsQuorum for the review. Will close this PR.

@SzyWilliam SzyWilliam closed this Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants