Hello Csaba Ringhofer, Michael Smith, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
https://gerrit.cloudera.org/25486
to look at the new patch set (#2).
Change subject: IMPALA-15834: Wait for cancelled instance profiles
......................................................................
IMPALA-15834: Wait for cancelled instance profiles
After an early LIMIT, the first cancelled fragment instance can mark
its backend done while other instances are still closing. The
coordinator may finalize the query before their final profiles arrive.
For query-wide cancellation, count each completed instance and defer
the backend CANCELLED status until all instances have closed. Keep
immediate reporting for other execution errors and unexpected
cancellation.
Choose how to notify the execution barrier in
FragmentInstanceState::Exec(), after updating the instance state.
Testing: QueryStateTest (7) and coordinator-backend-state-test (17) passed.
Change-Id: I24d9ba1eed6616433e97c198952f7c3070449d34
Assisted-by: gpt-6.1-sol (Codex)
---
M be/src/runtime/CMakeLists.txt
M be/src/runtime/fragment-instance-state.cc
A be/src/runtime/query-state-test.cc
M be/src/runtime/query-state.cc
M be/src/runtime/query-state.h
5 files changed, 211 insertions(+), 22 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/86/25486/2
--
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: newpatchset
Gerrit-Change-Id: I24d9ba1eed6616433e97c198952f7c3070449d34
Gerrit-Change-Number: 25486
Gerrit-PatchSet: 2
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>