From 942e690706ad2b92cb6c4e884a0e7ce07d33d7b8 Mon Sep 17 00:00:00 2001 From: chaser-ch Date: Fri, 8 Jul 2022 14:36:47 +0800 Subject: [PATCH] [CP] [CP] fix fuse row cache problem with warmup table store --- src/storage/ob_single_merge.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/storage/ob_single_merge.cpp b/src/storage/ob_single_merge.cpp index 3a82f8c588..8d624906ae 100644 --- a/src/storage/ob_single_merge.cpp +++ b/src/storage/ob_single_merge.cpp @@ -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(); -- GitLab