Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/18439 )
Change subject: IMPALA-11263: Coordinator hang when cancelling a query ...................................................................... Patch Set 4: (1 comment) http://gerrit.cloudera.org:8080/#/c/18439/4/be/src/runtime/coordinator-backend-state.cc File be/src/runtime/coordinator-backend-state.cc: http://gerrit.cloudera.org:8080/#/c/18439/4/be/src/runtime/coordinator-backend-state.cc@204 PS4, Line 204: if (!exec_done_) { : if (timeout_ms <= 0) { : exec_done_cv_.Wait(*l); : DCHECK(exec_done_); : return true; : } else { : bool notified = exec_done_cv_.WaitFor(*l, timeout_ms * MICROS_PER_MILLI); : if (notified) DCHECK(exec_done_); : return notified; : } : } > After reading our existing uses of condition variables, I'm changing my min Thanks for your detail comments. Will fix it as suggested -- To view, visit http://gerrit.cloudera.org:8080/18439 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I915511afe2df3017cbbf37f6aff3c5ff7f5473be Gerrit-Change-Number: 18439 Gerrit-PatchSet: 4 Gerrit-Owner: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Qifan Chen <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]> Gerrit-Comment-Date: Fri, 29 Apr 2022 00:17:17 +0000 Gerrit-HasComments: Yes
