Tim Armstrong has posted comments on this change.

Change subject: IMPALA-4348 / IMPALA-4333: Improve coordinator fragment 
cancellation
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/4865/1/be/src/exec/plan-root-sink.cc
File be/src/exec/plan-root-sink.cc:

Line 163:     consumer_cv_.wait(l);
> You're right, but the lifetime of the PRS is managed by the consumer and th
I guess I don't understand why the changes to PlanRootSink are required then.

It seems like ultimately we're depending on Close() waking up this thread 
anyway after it sets sender_done_, so why do we need to check consumer_done_ in 
this loop?


-- 
To view, visit http://gerrit.cloudera.org:8080/4865
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I5b4e25c1d658b3929182ba5e56b5c5e881dd394a
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Henry Robinson <[email protected]>
Gerrit-Reviewer: Dan Hecht <[email protected]>
Gerrit-Reviewer: Henry Robinson <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-HasComments: Yes

Reply via email to