Csaba Ringhofer has posted comments on this change. ( https://gerrit.cloudera.org/25486 )
Change subject: IMPALA-15834: Wait for cancelled instance profiles ...................................................................... Patch Set 2: Code-Review+1 (2 comments) https://gerrit.cloudera.org/#/c/25486/1/be/src/runtime/query-state.cc File be/src/runtime/query-state.cc: https://gerrit.cloudera.org/#/c/25486/1/be/src/runtime/query-state.cc@872 PS1, Line 872: red_barrier_->Wait(); > Moved the barrier notification choice to `FragmentInstanceState::Exec()` in thx, it is clearer IMO https://gerrit.cloudera.org/#/c/25486/2/be/src/runtime/query-state.cc File be/src/runtime/query-state.cc: https://gerrit.cloudera.org/#/c/25486/2/be/src/runtime/query-state.cc@863 PS2, Line 863: status.IsCancelled() && IsCancelled() Could we add a DCHECK that if status.IsCancelled() is true, IsCancelled() must be also true? This seems a legit invariant to me, though I would still keep the release build handle the opposite as it does currently. -- To view, visit https://gerrit.cloudera.org/25486 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I24d9ba1eed6616433e97c198952f7c3070449d34 Gerrit-Change-Number: 25486 Gerrit-PatchSet: 2 Gerrit-Owner: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Comment-Date: Thu, 26 Nov 2026 09:53:50 +0000 Gerrit-HasComments: Yes
