[refactor](create tablet) default create tablet round robin (#28911)

This commit is contained in:
yujun
2023-12-26 17:36:05 +08:00
committed by GitHub
parent 6440fbfab6
commit ffc6596cef
12 changed files with 150 additions and 163 deletions

View File

@ -2075,7 +2075,13 @@ public class Config extends ConfigBase {
public static boolean skip_localhost_auth_check = true;
@ConfField(mutable = true)
public static boolean enable_round_robin_create_tablet = false;
public static boolean enable_round_robin_create_tablet = true;
@ConfField(mutable = true, masterOnly = true, description = {
"创建分区时,总是从第一个 BE 开始创建。注意:这种方式可能造成BE不均衡",
"When creating tablet of a partition, always start from the first BE. "
+ "Note: This method may cause BE imbalance"})
public static boolean create_tablet_round_robin_from_start = false;
/**
* To prevent different types (V1, V2, V3) of behavioral inconsistencies,