[FEAT MERGE] 开源裁减颗粒度优化
Co-authored-by: nroskill <nroskill@gmail.com> Co-authored-by: akaError <lzg020616@163.com> Co-authored-by: yinyj17 <yinyijun92@gmail.com>
This commit is contained in:
@ -2796,6 +2796,11 @@ int ObTablet::update_row(
|
||||
LOG_WARN("fail to protect table", K(ret));
|
||||
} else if (OB_FAIL(prepare_memtable(relative_table, store_ctx, write_memtable))) {
|
||||
LOG_WARN("prepare write memtable fail", K(ret), K(relative_table));
|
||||
#ifdef OB_BUILD_TDE_SECURITY
|
||||
// XXX we do not turn on clog encryption now
|
||||
} else if (false && NULL != encrypt_meta_arr && !encrypt_meta_arr->empty() &&
|
||||
FALSE_IT(get_encrypt_meta(relative_table.get_table_id(), encrypt_meta_arr, encrypt_meta))) {
|
||||
#endif
|
||||
} else {
|
||||
ObArenaAllocator allocator(common::ObMemAttr(MTL_ID(), ObModIds::OB_STORE_ROW_EXISTER));
|
||||
ObTableIterParam param;
|
||||
@ -2846,6 +2851,11 @@ int ObTablet::insert_row_without_rowkey_check(
|
||||
LOG_WARN("fail to protect table", K(ret));
|
||||
} else if (OB_FAIL(prepare_memtable(relative_table, store_ctx, write_memtable))) {
|
||||
LOG_WARN("prepare write memtable fail", K(ret), K(relative_table));
|
||||
#ifdef OB_BUILD_TDE_SECURITY
|
||||
// XXX we do not turn on clog encryption now
|
||||
} else if (false && NULL != encrypt_meta_arr && !encrypt_meta_arr->empty() &&
|
||||
FALSE_IT(get_encrypt_meta(relative_table.get_table_id(), encrypt_meta_arr, encrypt_meta))) {
|
||||
#endif
|
||||
} else {
|
||||
ObArenaAllocator allocator(common::ObMemAttr(MTL_ID(), ObModIds::OB_STORE_ROW_EXISTER));
|
||||
ObTableIterParam param;
|
||||
|
||||
Reference in New Issue
Block a user