Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
Signed-off-by: xufei <[email protected]>
  • Loading branch information
windtalker committed Jun 23, 2022
1 parent e5fa3ac commit d05115b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dbms/src/Flash/Mpp/MPPTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,9 @@ void MPPTask::abort(const String & message, AbortType abort_type)
}
else if (previous_status == RUNNING && switchStatus(RUNNING, next_task_status))
{
/// abort the components from top to bottom because if bottom components are aborted
/// first, the top components may see an error caused by the abort, which is not
/// the original error
abortTunnels(message, abort_type);
abortDataStreams(abort_type);
abortReceivers();
Expand Down

0 comments on commit d05115b

Please sign in to comment.