提交 d585795c 编写于 作者: qq_41799012's avatar qq_41799012 提交者: ob-robot

[CP] fix the row_store_type in split empty minor sstable

上级 e3845bbb
......@@ -360,7 +360,7 @@ int ObTabletCreateSSTableParam::init_for_split_empty_minor_sstable(const ObTable
root_block_addr_.set_none_addr();
data_block_macro_meta_addr_.set_none_addr();
root_row_store_type_ = basic_meta.latest_row_store_type_;
root_row_store_type_ = basic_meta.root_row_store_type_;
data_index_tree_height_ = 0;
index_blocks_cnt_ = 0;
data_blocks_cnt_ = 0;
......@@ -385,6 +385,13 @@ int ObTabletCreateSSTableParam::init_for_split_empty_minor_sstable(const ObTable
table_shared_flag_.set_is_split_sstable();
table_shared_flag_.set_shared_sstable();
}
if (OB_FAIL(ret)) {
} else if (OB_UNLIKELY(ObStoreFormat::is_row_store_type_with_encoding(root_row_store_type_))) {
ret = OB_NOT_SUPPORTED;
LOG_WARN("split empty minor sstable do not support encoding row store", K(ret), K(root_row_store_type_),
K(basic_meta), KPC(this));
}
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册