[CP] add timeout param for estimation related interfaces

This commit is contained in:
hiddenbomb
2023-11-22 03:10:58 +00:00
committed by ob-robot
parent d0b5d9f336
commit 4531a5b37d
13 changed files with 106 additions and 54 deletions

View File

@ -1245,6 +1245,7 @@ int ObMultipleMerge::refresh_tablet_iter()
LOG_WARN("ls is null", K(ret), K(ls_handle));
} else if (OB_FAIL(ls_handle.get_ls()->get_tablet_svr()->get_read_tables(
tablet_id,
ObTabletCommon::DEFAULT_GET_TABLET_DURATION_US,
get_table_param_->sample_info_.is_no_sample()
? access_ctx_->store_ctx_->mvcc_acc_ctx_.get_snapshot_version().get_val_for_tx()
: INT64_MAX,