[MDS] fix read mds meet offline may get wrong data bug

This commit is contained in:
fengdeyiji
2023-08-14 09:48:48 +00:00
committed by ob-robot
parent 510aa8e076
commit 0c5c98a81d
18 changed files with 225 additions and 42 deletions

View File

@ -1395,7 +1395,7 @@ int ObLSTabletService::build_new_tablet_from_mds_table(
const common::ObTabletID &tablet_id,
const share::SCN &flush_scn)
{
TIMEGUARD_INIT(STORAGE, 10_ms, 5_s);
TIMEGUARD_INIT(STORAGE, 10_ms);
int ret = OB_SUCCESS;
common::ObArenaAllocator allocator(common::ObMemAttr(MTL_ID(), "BuildMSD"));
const share::ObLSID &ls_id = ls_->get_ls_id();
@ -1864,7 +1864,7 @@ int ObLSTabletService::get_tablet_with_timeout(
int ObLSTabletService::direct_get_tablet(const common::ObTabletID &tablet_id, ObTabletHandle &handle)
{
TIMEGUARD_INIT(STORAGE, 10_ms, 5_s);
TIMEGUARD_INIT(STORAGE, 10_ms);
int ret = OB_SUCCESS;
const ObTabletMapKey key(ls_->get_ls_id(), tablet_id);