Bikramjeet Vig created IMPALA-10942:
---------------------------------------
Summary: Fix memory leak in admission controller
Key: IMPALA-10942
URL: https://issues.apache.org/jira/browse/IMPALA-10942
Project: IMPALA
Issue Type: Bug
Reporter: Bikramjeet Vig
Assignee: Bikramjeet Vig
[https://github.com/apache/impala/blob/1a61a8025c87c37921a1bba4c49f754d8bd10bcc/be/src/scheduling/admission-controller.cc#L1196]
The intent of the aforementioned line in the code was to check and remove the
queue_node if the query was not queued. Instead it end up checking whether that
flag is a null pointer or not. Since a valid pointer is always sent, this would
result in the queue node never being removed resulting in a memory leak
--
This message was sent by Atlassian Jira
(v8.3.4#803005)