fix error code to better one

This commit is contained in:
Handora
2024-02-05 12:43:29 +00:00
committed by ob-robot
parent 7365a48844
commit 9d42f1c510
2 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ int ObStorageTableGuard::refresh_and_protect_table(ObRelativeTable &relative_tab
while (OB_SUCC(ret) && need_to_refresh_table(*iter.table_iter())) {
const int64_t remain_timeout = THIS_WORKER.get_timeout_remain();
if (OB_UNLIKELY(remain_timeout <= 0)) {
ret = OB_TRANS_STMT_TIMEOUT;
ret = OB_TIMEOUT;
} else if (OB_FAIL(store_ctx_.ls_->get_tablet_svr()->get_read_tables(
tablet_id,
remain_timeout,