Arnab Karmakar has posted comments on this change. ( http://gerrit.cloudera.org:8080/24992 )
Change subject: IMPALA-15418: Add Bottleneck Summary to query profiles ...................................................................... Patch Set 8: (1 comment) Thanks for finding out the caveats in each code path ! http://gerrit.cloudera.org:8080/#/c/24992/5/be/src/runtime/coordinator-backend-state.cc File be/src/runtime/coordinator-backend-state.cc: http://gerrit.cloudera.org:8080/#/c/24992/5/be/src/runtime/coordinator-backend-state.cc@694 PS5, Line 694: unique_lock<mutex> l(lock_); > The counter fix works in both profile formats. In PS7, a duplicate final re PS8: ApplyExecStatusReport() now records whether the backend was already done before applying the report. It returns !was_done && is_done, so only the report that actually makes the backend done returns true. A retried report, or a report after a fire-and-forget cancel, is still applied but returns false. The barrier is therefore notified once per backend. -- To view, visit http://gerrit.cloudera.org:8080/24992 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I6d63cdb9dca24981054bf7c524c1bc3cd3167452 Gerrit-Change-Number: 24992 Gerrit-PatchSet: 8 Gerrit-Owner: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Aleksandr Efimov <[email protected]> Gerrit-Reviewer: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Kurt Deschler <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]> Gerrit-Comment-Date: Sat, 31 Oct 2026 06:10:17 +0000 Gerrit-HasComments: Yes
