Do not print write to tunnel which is already closed
log if query is canceled expectedly before
#4208
Labels
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
We can see from the log that the query is canceled, and all tunnels are closed.
If
MPPTask.runImpl
tries to write to the tunnel later, an exceptionwrite to tunnel which is already closed
will be thrown.The error logs will be printed in this case, which will make the users confused. The exception is actually expected.
Thus we should avoid print the error log for this case.
The text was updated successfully, but these errors were encountered: