[fix](tablet sched) disable disk balance for single replica (#29576)
This commit is contained in:
@ -1022,6 +1022,12 @@ public class Config extends ConfigBase {
|
||||
@ConfField(mutable = true, masterOnly = true)
|
||||
public static boolean disable_disk_balance = false;
|
||||
|
||||
/**
|
||||
* if set to false, TabletScheduler will not do disk balance for replica num = 1.
|
||||
*/
|
||||
@ConfField(mutable = true, masterOnly = true)
|
||||
public static boolean enable_disk_balance_for_single_replica = false;
|
||||
|
||||
// if the number of scheduled tablets in TabletScheduler exceed max_scheduling_tablets
|
||||
// skip checking.
|
||||
@ConfField(mutable = true, masterOnly = true)
|
||||
|
||||
Reference in New Issue
Block a user