Skip old mds replay

This commit is contained in:
JiahuaChen
2024-03-28 10:21:11 +00:00
committed by ob-robot
parent 01f456d73d
commit 4171f32387

View File

@ -188,15 +188,14 @@ int ObTabletCreateMdsHelper::on_replay(
LOG_WARN("failed to convert_schemas", K(ret), "arg", PRETTY_ARG(arg));
} else if (CLICK_FAIL(check_create_new_tablets(arg, true/*is_replay*/))) {
LOG_WARN("failed to check create new tablets", K(ret));
}
} else {
if (CLICK_FAIL(replay_process(arg, scn, ctx))) {
LOG_WARN("fail to replay_process", K(ret), "arg", PRETTY_ARG(arg));
}
if (OB_FAIL(ret)) {
} else if (CLICK_FAIL(replay_process(arg, scn, ctx))) {
LOG_WARN("fail to replay_process", K(ret), "arg", PRETTY_ARG(arg));
}
if (OB_FAIL(ret)) {
handle_ret_for_replay(ret);
if (OB_FAIL(ret)) {
handle_ret_for_replay(ret);
}
}
return ret;