diff --git a/src/storage/access/ob_sample_iter_helper.cpp b/src/storage/access/ob_sample_iter_helper.cpp index a573e4f3c2..d084e702f1 100644 --- a/src/storage/access/ob_sample_iter_helper.cpp +++ b/src/storage/access/ob_sample_iter_helper.cpp @@ -25,7 +25,8 @@ int ObGetSampleIterHelper::check_scan_range_count(bool &res, ObIArrayis_valid() && + OB_FAIL(get_table_param_.tablet_iter_.refresh_read_tables_from_tablet( main_table_ctx_.store_ctx_->mvcc_acc_ctx_.get_snapshot_version().get_val_for_tx(), false /*allow_not_ready*/))) { STORAGE_LOG(WARN, "Fail to read tables", K(ret));