[improve](restore) Compress backup/restore job log size by compress (#42463)

ref #42459
This commit is contained in:
walter
2024-11-08 10:43:14 +08:00
committed by GitHub
parent 90da65c7b8
commit 6006907c79
4 changed files with 132 additions and 5 deletions

View File

@ -1541,6 +1541,22 @@ public class Config extends ConfigBase {
@ConfField(mutable = true, masterOnly = true)
public static int max_backup_restore_job_num_per_db = 10;
/**
* A internal config, to reduce the restore job size during serialization by compress.
*
* WARNING: Once this option is enabled and a restore is performed, the FE version cannot be rolled back.
*/
@ConfField(mutable = false)
public static boolean restore_job_compressed_serialization = false;
/**
* A internal config, to reduce the backup job size during serialization by compress.
*
* WARNING: Once this option is enabled and a backup is performed, the FE version cannot be rolled back.
*/
@ConfField(mutable = false)
public static boolean backup_job_compressed_serialization = false;
/**
* Control the max num of tablets per backup job involved.
*/