Xianqing He has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17735


Change subject: IMPALA-10414: fix memory leak when cancel the retried query
......................................................................

IMPALA-10414: fix memory leak when cancel the retried query

The QueryDriver#retry_query_thread_ may not finish when cancel the
retried query. So the reference count of QueryDriver
(via the shared_ptr) will not go to 0 and the memory will leak.

Testing:
Modify the test_query_retries.py to verify memory leak by checking
the debug web UI of memz.

Change-Id: If804ca65da1794c819a6b2e6567ea7651ab5112f
---
M be/src/runtime/query-driver.cc
M tests/custom_cluster/test_query_retries.py
2 files changed, 21 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/35/17735/2
--
To view, visit http://gerrit.cloudera.org:8080/17735
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If804ca65da1794c819a6b2e6567ea7651ab5112f
Gerrit-Change-Number: 17735
Gerrit-PatchSet: 2
Gerrit-Owner: Xianqing He <[email protected]>

Reply via email to