diff --git a/src/storage/blocksstable/ob_sstable_meta.cpp b/src/storage/blocksstable/ob_sstable_meta.cpp index 72e0874f6a..90fac21931 100644 --- a/src/storage/blocksstable/ob_sstable_meta.cpp +++ b/src/storage/blocksstable/ob_sstable_meta.cpp @@ -64,7 +64,8 @@ ObSSTableBasicMeta::ObSSTableBasicMeta() master_key_id_(0), sstable_logic_seq_(0), latest_row_store_type_(ObRowStoreType::MAX_ROW_STORE), - table_flag_() + table_flag_(), + root_macro_seq_(0) { MEMSET(encrypt_key_, 0, share::OB_MAX_TABLESPACE_ENCRYPT_KEY_LENGTH); } diff --git a/src/storage/blocksstable/ob_sstable_meta.h b/src/storage/blocksstable/ob_sstable_meta.h index 8f48fcd77f..7f02da5c77 100644 --- a/src/storage/blocksstable/ob_sstable_meta.h +++ b/src/storage/blocksstable/ob_sstable_meta.h @@ -188,6 +188,7 @@ public: common::ObRowStoreType latest_row_store_type_; char encrypt_key_[share::OB_MAX_TABLESPACE_ENCRYPT_KEY_LENGTH]; storage::ObTableFlag table_flag_; + int64_t root_macro_seq_; // placeholder, will be used after palf branch merged //Add new variable need consider ObSSTableMetaChecker };