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,

View File

@ -430,7 +430,7 @@ int LockForReadFunctor::check_clog_disk_full_()
if (NULL != detector && detector->is_clog_disk_has_fatal_error()) {
if (detector->is_clog_disk_has_full_error()) {
ret = OB_SERVER_OUTOF_DISK_SPACE;
ret = OB_LOG_OUTOF_DISK_SPACE;
TRANS_LOG(ERROR, "disk full error", K(ret), KPC(this));
} else if (detector->is_clog_disk_has_hang_error()) {
ret = OB_CLOG_DISK_HANG;