[improve](backup) Add config ignore_backup_tmp_partitions #45240 (#45331)

cherry pick from #45240
This commit is contained in:
walter
2024-12-17 14:31:06 +08:00
committed by GitHub
parent 8faf010c64
commit b6a1803127
5 changed files with 63 additions and 8 deletions

View File

@ -1589,6 +1589,15 @@ public class Config extends ConfigBase {
@ConfField(mutable = true, masterOnly = true)
public static boolean ignore_backup_not_support_table_type = false;
/**
* whether to ignore temp partitions when backup, and not report exception.
*/
@ConfField(mutable = true, masterOnly = true, description = {
"是否忽略备份临时分区,不报异常",
"Whether to ignore temp partitions when backup, and not report exception."
})
public static boolean ignore_backup_tmp_partitions = false;
/**
* A internal config, to control the update interval of backup handler. Only used to speed up tests.
*/