[fix](disk balance) Change disk rebalance unpick time to configurable (#28949)

This commit is contained in:
deardeng
2024-01-16 17:31:44 +08:00
committed by yiguolei
parent 74991c4af2
commit 168afdb965
2 changed files with 8 additions and 1 deletions

View File

@ -1020,6 +1020,12 @@ public class Config extends ConfigBase {
@ConfField(mutable = true, masterOnly = true)
public static boolean disable_balance = false;
/**
* when be rebalancer idle, then disk balance will occurs.
*/
@ConfField(mutable = true, masterOnly = true)
public static int be_rebalancer_idle_seconds = 60;
/**
* if set to true, TabletScheduler will not do disk balance.
*/