seekskyworld opened a new pull request, #2345:
URL: https://github.com/apache/zookeeper/pull/2345

   Issue: https://issues.apache.org/jira/browse/ZOOKEEPER-5012
   
   Summary
   - Guard zkDb close in QuorumPeer.shutdown when initialization did not finish.
   - Add a QuorumPeerTest regression for shutdown without zkDb.
   
   Motivation
   - During restart, shutdown can run before zkDb is initialized; avoid NPE 
while preserving cleanup.
   
   Validation
   - mvn -pl zookeeper-server 
-Dtest=QuorumPeerTest#testShutdownWithoutZkDbDoesNotThrow test


-- 
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