[Improvement](tablet clone) impr tablet sched speed and fix tablet sched failed too many times (#21856)

This commit is contained in:
yujun
2023-07-18 23:25:22 +08:00
committed by GitHub
parent dcb165cc9f
commit beec0e9169
15 changed files with 491 additions and 372 deletions

View File

@ -904,7 +904,21 @@ public class Config extends ConfigBase {
* the default slot number per path in tablet scheduler
* TODO(cmy): remove this config and dynamically adjust it by clone task statistic
*/
@ConfField public static int schedule_slot_num_per_path = 2;
@ConfField(mutable = true, masterOnly = true)
public static int schedule_slot_num_per_path = 4;
/**
* the default slot number per path in tablet scheduler for decommission backend
*/
@ConfField(mutable = true, masterOnly = true)
public static int schedule_decommission_slot_num_per_path = 8;
/**
* the default batch size in tablet scheduler for a single schedule.
*/
@ConfField(mutable = true, masterOnly = true)
public static int schedule_batch_size = 50;
/**
* Deprecated after 0.10