[fix](cooldown) Rewrite update cooldown conf (#16488)
Remove error-prone CooldownJob, and use CooldownConfHandler to update Tablet's cooldown conf. Some bug fix about cooldown.
This commit is contained in:
@ -802,13 +802,6 @@ public class Config extends ConfigBase {
|
||||
*/
|
||||
@ConfField(mutable = true, masterOnly = true)
|
||||
public static int alter_table_timeout_second = 86400 * 30; // 1month
|
||||
/**
|
||||
* Maximal timeout of push cooldown conf request.
|
||||
*/
|
||||
@ConfField(mutable = false, masterOnly = true)
|
||||
public static boolean cooldown_single_remote_file = false;
|
||||
@ConfField(mutable = false, masterOnly = true)
|
||||
public static int push_cooldown_conf_timeout_second = 600; // 10 min
|
||||
/**
|
||||
* If a backend is down for *max_backend_down_time_second*, a BACKEND_DOWN event will be triggered.
|
||||
* Do not set this if you know what you are doing.
|
||||
@ -1932,11 +1925,10 @@ public class Config extends ConfigBase {
|
||||
public static int max_same_name_catalog_trash_num = 3;
|
||||
|
||||
/**
|
||||
* The storage policy is still under developement.
|
||||
* Disable it by default.
|
||||
* NOTE: The storage policy is still under developement.
|
||||
*/
|
||||
@ConfField(mutable = true, masterOnly = true)
|
||||
public static boolean enable_storage_policy = false;
|
||||
@ConfField(mutable = false, masterOnly = true)
|
||||
public static boolean enable_storage_policy = true;
|
||||
|
||||
/**
|
||||
* This config is mainly used in the k8s cluster environment.
|
||||
|
||||
Reference in New Issue
Block a user