Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/20799 )
Change subject: IMPALA-12633: Restore checking inflight in retry ...................................................................... Patch Set 2: (1 comment) http://gerrit.cloudera.org:8080/#/c/20799/2/tests/custom_cluster/test_query_retries.py File tests/custom_cluster/test_query_retries.py: http://gerrit.cloudera.org:8080/#/c/20799/2/tests/custom_cluster/test_query_retries.py@777 PS2, Line 777: 'debug_action': 'SET_QUERY_INFLIGHT:SLEEP@1000'}) Ok, after fixing the check the coordinator crashes due to client-request-state.cc:179] Check failed: wait_thread_.get() == __null BlockOnWait() needs to be called! Which makes sense to me, it hasn't successfully closed. I don't see a reason to skip closing the request state if it hasn't been set to inflight yet. The only consequence I can identify is that the original query might be added to inflight_queries, then not removed until the session is closed. But once the overall query is closed, both the original and retrying query move to completed queries. And despite not being removed from inflight_queries, the query is removed from query_driver_map_ so it's not observable in the web UI. The only consequence a user might observe is a failure trying to UnregisterQuery when the session is closed. -- To view, visit http://gerrit.cloudera.org:8080/20799 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic17a5e12d9db61cb19306270174518a8dfd281a7 Gerrit-Change-Number: 20799 Gerrit-PatchSet: 2 Gerrit-Owner: Michael Smith <[email protected]> Gerrit-Reviewer: Andrew Sherman <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Riza Suminto <[email protected]> Gerrit-Comment-Date: Fri, 15 Dec 2023 20:20:22 +0000 Gerrit-HasComments: Yes
