Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/16088 )
Change subject: IMPALA-9842: Fix hang when cancelling BufferedPlanRootSink ...................................................................... Patch Set 1: (1 comment) http://gerrit.cloudera.org:8080/#/c/16088/1/be/src/exec/buffered-plan-root-sink.cc File be/src/exec/buffered-plan-root-sink.cc: http://gerrit.cloudera.org:8080/#/c/16088/1/be/src/exec/buffered-plan-root-sink.cc@110 PS1, Line 110: if (!state->is_cancelled()) { > This is still kinda weird - usually the pattern should be waiting in a loop Good point, better to have defensive code. Changed this to a loop that checks whether the queue is empty or this is cancelled. This is a deconstructed version of the IsGetNextEos(). -- To view, visit http://gerrit.cloudera.org:8080/16088 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Id6f3fbc05420ca95313fa79ea106547feb92b16b Gerrit-Change-Number: 16088 Gerrit-PatchSet: 1 Gerrit-Owner: Joe McDonnell <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-Comment-Date: Tue, 16 Jun 2020 23:20:31 +0000 Gerrit-HasComments: Yes
