Do not report ERROR when sample rate equals 100

This commit is contained in:
ZenoWang
2024-02-06 14:49:31 +00:00
committed by ob-robot
parent 1f1d5c08ae
commit c8ef409bf3
3710 changed files with 486984 additions and 3083329 deletions

View File

@ -69,18 +69,17 @@ void ObStoreCtx::reset()
{
ls_id_.reset();
ls_ = nullptr;
branch_ = 0;
tablet_id_.reset();
table_iter_ = nullptr;
table_version_ = INT64_MAX;
timeout_ = -1;
mvcc_acc_ctx_.reset();
tablet_stat_.reset();
replay_log_scn_.set_max();
is_read_store_ctx_ = false;
}
int ObStoreCtx::init_for_read(const ObLSID &ls_id,
const common::ObTabletID tablet_id,
const int64_t timeout,
const int64_t tx_lock_timeout,
const SCN &snapshot_version)
@ -91,7 +90,6 @@ int ObStoreCtx::init_for_read(const ObLSID &ls_id,
if (OB_FAIL(ls_svr->get_ls(ls_id, ls_handle, ObLSGetMod::STORAGE_MOD))) {
STORAGE_LOG(WARN, "get_ls from ls service fail.", K(ret), K(*ls_svr));
} else {
tablet_id_ = tablet_id;
ret = init_for_read(ls_handle, timeout, tx_lock_timeout, snapshot_version);
}
return ret;