[CP] Fix physical restore finish can not get latest data bug

This commit is contained in:
godyangfight
2022-06-29 11:03:58 +08:00
committed by wangzelin.wzl
parent a8f575409d
commit 3a4eeb579b
3 changed files with 58 additions and 1 deletions

View File

@ -102,6 +102,7 @@ public:
static int fetch_sys_log_archive_backup_info_and_piece(common::ObMySQLProxy &sql_proxy,
ObLogArchiveBackupInfo &new_backup_info, ObNonFrozenBackupPieceInfo &new_backup_piece);
int64_t get_log_archive_checkpoint_interval() const;
int get_restore_backup_snapshot_version(const uint64_t tenant_id, int64_t &snapshot_version);
private:
static const int64_t DEFAULT_UPDATE_INTERVAL_US = 10 * 1000 * 1000; // 10s