[CP] adjust backup ls meta and tablet metas timeout to 30min

This commit is contained in:
hamstersox
2023-09-18 04:44:01 +00:00
committed by ob-robot
parent 350df65bbf
commit 8208247cd9
2 changed files with 2 additions and 2 deletions

View File

@ -3639,7 +3639,7 @@ int ObLSBackupMetaTask::backup_ls_meta_and_tablet_metas_(const uint64_t tenant_i
} else if (OB_FAIL(writer.init(backup_set_dest, param_.ls_id_, param_.turn_id_, param_.retry_id_))) {
LOG_WARN("failed to init tablet info writer", K(ret));
} else {
const int64_t WAIT_GC_LOCK_TIMEOUT = 3 * 60 * 1000 * 1000; // 3 min
const int64_t WAIT_GC_LOCK_TIMEOUT = 30 * 60 * 1000 * 1000; // 30 min TODO(chongrong.th) optimization timeout later 4.3
const int64_t CHECK_GC_LOCK_INTERVAL = 1000000; // 1s
const int64_t wait_gc_lock_start_ts = ObTimeUtility::current_time();
int64_t cost_ts = 0;