Aleksandr Efimov has posted comments on this change. ( https://gerrit.cloudera.org/25486 )
Change subject: IMPALA-15834: Wait for cancelled instance profiles ...................................................................... Patch Set 2: (1 comment) 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() m I’d keep the fallback in debug builds too. `Status::IsCancelled()` also covers internal cancellation. For example, an ORC scanner can return `CANCELLED_INTERNALLY` when the scan reaches its own limit. `UnexpectedInstanceCancellationReportsPromptly` checks that we release the barrier promptly if a fragment returns a cancellation status before the query is marked cancelled. -- 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 11:33:43 +0000 Gerrit-HasComments: Yes
