[CP] [CP] fix fuse row cache problem with warmup table store

This commit is contained in:
chaser-ch 2022-07-08 14:36:47 +08:00 committed by wangzelin.wzl
parent 20060e8887
commit 942e690706

View File

@ -189,9 +189,8 @@ int ObSingleMerge::inner_get_next_row(ObStoreRow& row)
if (OB_FAIL(tables.at(i, table))) {
STORAGE_LOG(WARN, "fail to get ith table", K(ret));
} else {
if (table->get_base_version() < row_cache_snapshot_version &&
row_cache_snapshot_version <= table->get_upper_trans_version() &&
(!table->is_multi_version_minor_sstable() || sstable_end_log_ts <= table->get_end_log_ts())) {
if (table->get_base_version() < row_cache_snapshot_version
&& row_cache_snapshot_version <= table->get_upper_trans_version()) {
if (table->get_multi_version_start() >= row_cache_snapshot_version) {
// do not use fuse row cache
handle_.reset();