[ 
https://issues.apache.org/jira/browse/KAFKA-2973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15048996#comment-15048996
 ] 

ASF GitHub Bot commented on KAFKA-2973:
---------------------------------------

GitHub user ijuma opened a pull request:

    https://github.com/apache/kafka/pull/650

    KAFKA-2973; Fix issue where `childrenSensors` is incorrectly updated

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ijuma/kafka 
kafka-2973-fix-leak-child-sensors-on-remove

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/650.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #650
    
----
commit ef6a543edd4c14e44b8dd660b936a7efa8aeaee0
Author: Ismael Juma <ism...@juma.me.uk>
Date:   2015-12-09T16:39:49Z

    Fix issue where `childrenSensors` was incorrectly updated

----


> Fix leak of child sensors on remove
> -----------------------------------
>
>                 Key: KAFKA-2973
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2973
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 0.9.0.0
>            Reporter: Ismael Juma
>            Assignee: Ismael Juma
>             Fix For: 0.9.0.1
>
>
> We added the ability to remove sensors from Kafka Metrics in 0.9.0.0. There 
> is, however, a bug in how we populate the `childrenSensors` map causing us to 
> leak some child sensors (all, but the last one added).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to