fix backup and restore do not support -4725 issue

This commit is contained in:
oceanoverflow
2023-01-28 16:16:06 +08:00
committed by ob-robot
parent 455070348e
commit ad4cf1e9c1
21 changed files with 389 additions and 38 deletions

View File

@ -87,6 +87,7 @@ private:
int get_change_turn_ls_(ObIArray<share::ObBackupLSTaskAttr> &ls_task,
const ObIArray<share::ObBackupDataTabletToLSInfo> &tablets_to_ls,
ObIArray<share::ObBackupLSTaskAttr *> &need_change_turn_ls_tasks);
int persist_deleted_tablets_info_(const common::ObIArray<share::ObBackupSkipTabletAttr> &skip_tablets);
int update_inner_task_(const ObIArray<share::ObLSID> &new_ls_ids,
const ObIArray<share::ObBackupLSTaskAttr *> &need_change_turn_ls_tasks);
int update_task_type_(const ObIArray<share::ObBackupLSTaskAttr> &ls_task);
@ -107,6 +108,7 @@ private:
int write_extern_ls_info_(const ObArray<share::ObBackupLSTaskAttr> &ls_tasks);
int write_tablet_to_ls_infos_(const ObIArray<share::ObBackupDataTabletToLSInfo> &tablets_to_ls, const int64_t turn_id);
int write_deleted_tablet_infos_();
int set_backup_set_files_failed_(ObMySQLTransaction &trans);
int advance_status_(ObMySQLTransaction &trans, const share::ObBackupStatus &next_status, const int result = OB_SUCCESS,