fix sstable meta equality problem

This commit is contained in:
obdev
2022-12-07 07:39:19 +00:00
committed by ob-robot
parent 2c15f32e69
commit 513236132c
2 changed files with 4 additions and 0 deletions

View File

@ -591,6 +591,8 @@ int ObSharedMacroBlockMgr::create_new_sstable(
param.progressive_merge_round_ = basic_meta.progressive_merge_round_;
param.progressive_merge_step_ = basic_meta.progressive_merge_step_;
param.rowkey_column_cnt_ = basic_meta.rowkey_column_count_;
param.recycle_version_ = basic_meta.recycle_version_;
param.is_ready_for_read_ = true;
ObSSTableMergeRes::fill_addr_and_data(res.root_desc_,
param.root_block_addr_, param.root_block_data_);

View File

@ -25,6 +25,8 @@ namespace oceanbase
using namespace share;
namespace storage
{
// if you add membership for this param, plz check all paths that use it, including
// but not limited to unittest, merge, ddl, shared_macro_block
ObTabletCreateSSTableParam::ObTabletCreateSSTableParam()
: table_key_(),
sstable_logic_seq_(0),