[CP] Revert [CP] fix backup check tablet continuity performance issue

This commit is contained in:
oceanoverflow
2024-01-11 12:48:51 +00:00
committed by ob-robot
parent f1b204d8af
commit aef68a1235
7 changed files with 190 additions and 359 deletions

View File

@ -496,11 +496,9 @@ private:
const ObBackupProviderItem &item, bool &need_copy, ObBackupMacroBlockIndex &macro_index);
int generate_next_prefetch_dag_();
int generate_backup_dag_(const int64_t task_id, const common::ObIArray<ObBackupProviderItem> &items);
void record_server_event_(const int64_t cost_us);
private:
bool is_inited_;
int64_t prefetch_task_id_;
ObLSBackupDagInitParam param_;
ObBackupReportCtx report_ctx_;
share::ObBackupDataType backup_data_type_;
@ -511,8 +509,6 @@ private:
ObBackupMacroBlockIndexStore macro_index_store_for_inc_;
ObBackupMacroBlockIndexStore macro_index_store_for_turn_;
share::ObIDag *index_rebuild_dag_;
int64_t next_prefetch_task_id_;
int64_t next_backup_task_id_;
DISALLOW_COPY_AND_ASSIGN(ObPrefetchBackupInfoTask);
};
@ -532,8 +528,6 @@ private:
private:
int build_backup_file_header_(ObBackupFileHeader &file_header);
int do_write_file_header_();
int get_check_tablet_list_(common::ObIArray<ObTabletID> &tablet_list);
int do_check_tablet_valid_();
int do_backup_macro_block_data_();
int do_backup_meta_data_();
int get_tablet_meta_info_(
@ -601,7 +595,6 @@ private:
common::ObArray<ObBackupProviderItem> backup_items_;
common::ObArray<common::ObTabletID> finished_tablet_list_;
share::ObIDag *index_rebuild_dag_;
int64_t next_prefetch_task_id_;
DISALLOW_COPY_AND_ASSIGN(ObLSBackupDataTask);
};