[feature](replica) Add drop replica safely on backend (#30303)
This commit is contained in:
@ -1064,6 +1064,11 @@ public class Config extends ConfigBase {
|
||||
@ConfField(masterOnly = true, mutable = true)
|
||||
public static int balance_slot_num_per_path = 1;
|
||||
|
||||
// when execute admin set replica status = 'drop', the replica will marked as user drop.
|
||||
// will try to drop this replica within time not exceeds manual_drop_replica_valid_second
|
||||
@ConfField(masterOnly = true, mutable = true)
|
||||
public static long manual_drop_replica_valid_second = 24 * 3600L;
|
||||
|
||||
// This threshold is to avoid piling up too many report task in FE, which may cause OOM exception.
|
||||
// In some large Doris cluster, eg: 100 Backends with ten million replicas, a tablet report may cost
|
||||
// several seconds after some modification of metadata(drop partition, etc..).
|
||||
|
||||
Reference in New Issue
Block a user