This is an automated email from the ASF dual-hosted git repository.

stigahuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 72e38f0e7517f1e140bb833278832a72fb1e0501
Author: Michael Smith <[email protected]>
AuthorDate: Tue Aug 6 11:17:32 2024 -0700

    IMPALA-13252: (Addendum) PrintId cancel query
    
    Use PrintId in log message "CancelFromThreadPool(): cancel query <id>".
    Fixes test_no_tuniqueid in exhaustive test runs.
    
    Change-Id: Id17af7bfd51264ce147878072b739845e3a6cfec
    Reviewed-on: http://gerrit.cloudera.org:8080/21649
    Reviewed-by: Yida Wu <[email protected]>
    Reviewed-by: Riza Suminto <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 be/src/runtime/query-exec-mgr.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/runtime/query-exec-mgr.cc b/be/src/runtime/query-exec-mgr.cc
index 262f47a6f..d9b82461d 100644
--- a/be/src/runtime/query-exec-mgr.cc
+++ b/be/src/runtime/query-exec-mgr.cc
@@ -267,7 +267,7 @@ void QueryExecMgr::CancelQueriesForFailedCoordinators(
 
 void QueryExecMgr::CancelFromThreadPool(const QueryCancellationTask& 
cancellation_task) {
   QueryState* qs = cancellation_task.GetQueryState();
-  VLOG(1) << "CancelFromThreadPool(): cancel query " << qs->query_id();
+  VLOG(1) << "CancelFromThreadPool(): cancel query " << 
PrintId(qs->query_id());
   qs->Cancel();
   qs->is_coord_active_.Store(false);
   ReleaseQueryState(qs);

Reply via email to