Skip to content

Commit

Permalink
Enable SchemaRegion Leader Auto Balance (apache#11926)
Browse files Browse the repository at this point in the history
Signed-off-by: OneSizeFitQuorum <tanxinyu@apache.org>
  • Loading branch information
OneSizeFitsQuorum authored Jan 19, 2024
1 parent c3597b6 commit 0cb1499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public class ConfigNodeConfig {
private String leaderDistributionPolicy = ILeaderBalancer.MIN_COST_FLOW_POLICY;

/** Whether to enable auto leader balance for Ratis consensus protocol. */
private boolean enableAutoLeaderBalanceForRatisConsensus = false;
private boolean enableAutoLeaderBalanceForRatisConsensus = true;

/** Whether to enable auto leader balance for IoTConsensus protocol. */
private boolean enableAutoLeaderBalanceForIoTConsensus = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ data_replication_factor=1
# The ConfigNode-leader will balance the leader of Ratis-RegionGroups by leader_distribution_policy if set true.
# Notice: Default is false because the Ratis is unstable for this function.
# Datatype: Boolean
# enable_auto_leader_balance_for_ratis_consensus=false
# enable_auto_leader_balance_for_ratis_consensus=true

# Whether to enable auto leader balance for IoTConsensus protocol.
# The ConfigNode-leader will balance the leader of IoTConsensus-RegionGroups by leader_distribution_policy if set true.
Expand Down

0 comments on commit 0cb1499

Please sign in to comment.