changruill commented on PR #2154:
URL: https://github.com/apache/zookeeper/pull/2154#issuecomment-2167267712

   One more thing, the resources (Threads/Processors...) created in 
`startupWithServerState(State.INITIAL)` won't be released in `shutdown`, cause 
of `canShutdown` does not contain the condition `state == State.INITIAL`. This 
LEAK would occur before `ZooKeeperServer.state` changes to `State.RUNNING` 
(follower read a `UPTODATE` packet).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to