Jason Jiang created ROCKETMQ-290:
------------------------------------

             Summary: Memory leaks in 
org.apache.rocketmq.store.ha.WaitNotifyObject#waitingThreadTable
                 Key: ROCKETMQ-290
                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-290
             Project: Apache RocketMQ
          Issue Type: Bug
          Components: rocketmq-store
    Affects Versions: 4.1.0-incubating
            Reporter: Jason Jiang
            Assignee: yukon
            Priority: Critical


There are only add-element operations for waitingThreadTable in Class 
org.apache.rocketmq.store.ha.WaitNotifyObject.

Each time a new thread calls Method WaitNotifyObject#allWaitForRunning, 
waitingThreadTable get new element. 

This leak actually happens in Master Broker when Slave reconnect to the Master, 
a new HAConnection is created, and WaitNotifyObject#allWaitForRunning will be 
called in LogHAConnection.WriteSocketService#run.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to