Gergely Fürnstáhl has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/20179


Change subject: IMPALA-12233: Fixed PHJ hanging caused by cyclic barrier
......................................................................

IMPALA-12233: Fixed PHJ hanging caused by cyclic barrier

Partitioned Hash Join with a limit could hang when using mt_dop>0, due
to the cyclic barrier in PHJBuilder is not cancelled properly. Added
possibility to cancel the barrier with OK status and added the
cancellation to PHJNode::Close().

Testing:
  - Added new unit tests covering OK cancelling

Change-Id: I8be75c7ce99c015964c8bbb547539e6619ba4f9b
---
M be/src/exec/partitioned-hash-join-builder.h
M be/src/exec/partitioned-hash-join-node.cc
M be/src/util/cyclic-barrier-test.cc
M be/src/util/cyclic-barrier.cc
M be/src/util/cyclic-barrier.h
5 files changed, 46 insertions(+), 16 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/79/20179/2
--
To view, visit http://gerrit.cloudera.org:8080/20179
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8be75c7ce99c015964c8bbb547539e6619ba4f9b
Gerrit-Change-Number: 20179
Gerrit-PatchSet: 2
Gerrit-Owner: Gergely Fürnstáhl <[email protected]>

Reply via email to