[improve](restore) Compress backup/restore job log size by compress (#42463)
ref #42459
This commit is contained in:
@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user