[SCN REFACTOR] replace flash back snapshot and remove read snapshot session

This commit is contained in:
wangt1xiuyi
2022-11-28 01:54:50 +00:00
committed by ob-robot
parent c4c13f6296
commit 11485d6a98
268 changed files with 6763 additions and 7737 deletions

View File

@ -31,6 +31,7 @@ public:
const int64_t dest_table_id,
const int64_t schema_version,
const int64_t snapshot_version,
const int64_t execution_id,
const ObSQLMode &sql_mode,
const common::ObCurTraceId::TraceId &trace_id,
const int64_t parallelism,
@ -52,6 +53,7 @@ private:
int64_t dest_table_id_;
int64_t schema_version_;
int64_t snapshot_version_;
int64_t execution_id_;
ObSQLMode sql_mode_;
ObTimeZoneInfoWrap tz_info_wrap_;
share::ObColumnNameMap col_name_map_;
@ -112,6 +114,7 @@ public:
virtual int update_complete_sstable_job_status(
const common::ObTabletID &tablet_id,
const int64_t snapshot_version,
const int64_t execution_id,
const int ret_code) = 0;
int on_child_task_finish(
const ObDDLTaskKey &child_task_key,
@ -133,7 +136,7 @@ protected:
const share::schema::ObTableSchema &data_table_schema,
const share::schema::ObTableSchema &dest_table_schema,
common::hash::ObHashMap<uint64_t, uint64_t> &validate_checksum_column_ids);
int check_data_dest_tables_columns_checksum();
int check_data_dest_tables_columns_checksum(const int64_t execution_id);
int unlock_table();
int fail();
int success();
@ -214,6 +217,7 @@ protected:
int64_t update_autoinc_job_time_;
int64_t check_table_empty_job_ret_code_;
int64_t check_table_empty_job_time_;
int64_t redefinition_execution_id_;
};
} // end namespace rootserver