Handle 5188 error correctly during on_replay

This commit is contained in:
JiahuaChen 2024-04-08 12:48:51 +00:00 committed by ob-robot
parent e00c5f80ef
commit 5bb9dd3417

View File

@ -188,14 +188,12 @@ 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));
}
} 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;