Skip to content

[IOTDB-5049] Add parameters enable leader balance for specifed consensus protocol class#8170

Merged
Beyyes merged 3 commits intoapache:masterfrom
CRZbulabula:Add-parameters-enable-leader-balance-for-specifed-consensus-protocol-class
Nov 26, 2022
Merged

[IOTDB-5049] Add parameters enable leader balance for specifed consensus protocol class#8170
Beyyes merged 3 commits intoapache:masterfrom
CRZbulabula:Add-parameters-enable-leader-balance-for-specifed-consensus-protocol-class

Conversation

@CRZbulabula
Copy link
Contributor

Add parameters:

  1. enable_auto_leader_balance_for_ratis: enable balance the RegionGroups' leaders for Ratis consensus protocol, default is false since the Ratis is unstable for this function.
  2. enable_auto_leader_balance_for_multileader: enable balance the RegionGroups' leaders for MultiLeader consensus protocol, default is true since the MultiLeader is depends on this function to distribute leader.

Copy link
Member

@Beyyes Beyyes left a comment

Choose a reason for hiding this comment

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

LGTM

@Beyyes Beyyes merged commit e5208e8 into apache:master Nov 26, 2022
@CRZbulabula CRZbulabula deleted the Add-parameters-enable-leader-balance-for-specifed-consensus-protocol-class branch November 27, 2022 12:22
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.

2 participants