Fix rebuild 4005 bug

This commit is contained in:
godyangfight
2023-08-04 10:12:30 +00:00
committed by ob-robot
parent 0fc560ea70
commit 558f74a2d6
4 changed files with 41 additions and 22 deletions

View File

@ -725,12 +725,14 @@ int ObStartPrepareMigrationTask::process()
LOG_WARN("failed to deal with local ls", K(ret), K(*ctx_));
} else if (OB_FAIL(wait_transfer_tablets_ready_())) {
LOG_WARN("failed to wait transfer tablets ready", K(ret), KPC(ctx_));
} else if (OB_FAIL(remove_local_incomplete_tablets_())) {
LOG_WARN("failed to remove local incomplete tablets", K(ret), KPC(ctx_));
}
//TODO(muwei.ym) delete it in 4.2 RC3
/*
else if (OB_FAIL(wait_log_replay_sync_())) {
else if (OB_FAIL(remove_local_incomplete_tablets_())) {
LOG_WARN("failed to remove local incomplete tablets", K(ret), KPC(ctx_));
} else if (OB_FAIL(remove_local_incomplete_tablets_())) {
LOG_WARN("failed to remove local incomplete tablets", K(ret), KPC(ctx_));
} else if (OB_FAIL(wait_log_replay_sync_())) {
LOG_WARN("failed to wait log replay sync", K(ret), KPC(ctx_));
} else if (OB_FAIL(wait_ls_checkpoint_scn_push_())) {
LOG_WARN("failed to wait ls checkpoint ts push", K(ret), KPC(ctx_));