From d93beedd3f549f9c59e47e3bdf4f9c06887c631c Mon Sep 17 00:00:00 2001 From: skylhd Date: Thu, 3 Aug 2023 10:12:34 +0000 Subject: [PATCH] [BUGFIX] fix if ob fail --- src/storage/lob/ob_lob_persistent_adaptor.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/storage/lob/ob_lob_persistent_adaptor.cpp b/src/storage/lob/ob_lob_persistent_adaptor.cpp index 379c367820..b8dcc4c277 100644 --- a/src/storage/lob/ob_lob_persistent_adaptor.cpp +++ b/src/storage/lob/ob_lob_persistent_adaptor.cpp @@ -943,11 +943,11 @@ int ObPersistentLobApator::inner_get_tablet( } else if (OB_ISNULL(ls_handle.get_ls())) { ret = OB_ERR_UNEXPECTED; LOG_ERROR("ls should not be null", K(ret)); - } else if (ls_handle.get_ls()->get_tablet_with_timeout(tablet_id, - handle, - param.timeout_, - ObMDSGetTabletMode::READ_READABLE_COMMITED, - param.snapshot_.core_.version_)) { + } else if (OB_FAIL(ls_handle.get_ls()->get_tablet_with_timeout(tablet_id, + handle, + param.timeout_, + ObMDSGetTabletMode::READ_READABLE_COMMITED, + param.snapshot_.core_.version_))) { LOG_WARN("fail to get tablet handle", K(ret), K(tablet_id), K(param)); } return ret;