filter the non-exist tablet by replay_get_tablet for replaying delete tablet clog when ob is updated from 4.1 to 4.2

This commit is contained in:
obdev
2023-06-29 02:49:06 +00:00
committed by ob-robot
parent 348bb57bac
commit f273041da8
14 changed files with 166 additions and 71 deletions

View File

@ -67,7 +67,8 @@ int ObTabletReplayExecutor::replay_to_mds_table_(
storage::ObTabletHandle &tablet_handle,
const ObTabletCreateDeleteMdsUserData &mds,
storage::mds::MdsCtx &ctx,
const share::SCN &scn)
const share::SCN &scn,
const bool for_old_mds)
{
int ret = 123;
UNUSEDx(tablet_handle, mds, ctx, scn);
@ -78,7 +79,8 @@ int ObTabletReplayExecutor::replay_to_mds_table_(
storage::ObTabletHandle &tablet_handle,
const ObTabletBindingMdsUserData &mds,
storage::mds::MdsCtx &ctx,
const share::SCN &scn)
const share::SCN &scn,
const bool for_old_mds)
{
int ret = 456;
UNUSEDx(tablet_handle, mds, ctx, scn);
@ -112,4 +114,4 @@ int main(int argc, char **argv)
OB_LOGGER.set_log_level("INFO");
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
}