persist cluster version for ddl.

This commit is contained in:
obdev
2022-12-29 14:38:06 +00:00
committed by ob-robot
parent c6977f3e3f
commit 4f6f8b11f3
22 changed files with 139 additions and 41 deletions

View File

@ -279,6 +279,7 @@ ObUpdateTableStoreParam::ObUpdateTableStoreParam(
const bool keep_old_ddl_sstable,
const ObStorageSchema *storage_schema,
const int64_t rebuild_seq,
const int64_t ddl_cluster_version,
const bool update_with_major_flag,
const bool need_report)
: table_handle_(table_handle),
@ -295,7 +296,7 @@ ObUpdateTableStoreParam::ObUpdateTableStoreParam(
ddl_start_scn_(SCN::min_scn()),
ddl_snapshot_version_(0),
ddl_execution_id_(-1),
ddl_cluster_version_(0),
ddl_cluster_version_(ddl_cluster_version),
allow_duplicate_sstable_(false),
tx_data_(),
binding_info_(),