fix error code to better one
This commit is contained in:
@ -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,
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user