Fix direct load task hang on abort

This commit is contained in:
suz-yang
2024-03-29 11:50:30 +00:00
committed by ob-robot
parent 2130f9bbd2
commit a7ecef9770

View File

@ -211,10 +211,10 @@ int ObTableLoadCoordinator::abort_peers_ctx(ObTableLoadTableCtx *ctx)
if (round % 10 == 0) {
FLOG_WARN("retry too many times", K(round), K(running_cnt), K(fail_cnt), K(tries), KPC(next_round));
}
std::swap(curr_round, next_round);
next_round->reuse();
ob_usleep(WAIT_INTERVAL_US);
}
std::swap(curr_round, next_round);
next_round->reuse();
}
}
return ret;