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

   Issue: https://issues.apache.org/jira/browse/ZOOKEEPER-5011
   
   Summary:
   - add a closed-state guard so stale references throw an 
IllegalStateException instead of NPEs
   - keep close idempotent and avoid marking the instance closed during 
truncateLog reopen
   - add coverage for save-after-close and idempotent close
   
   Motivation:
   - improve diagnostics when stale ZooKeeperServer references hit 
FileTxnSnapLog after shutdown
   
   Validation:
   - C:\Users\jiahao.deng\scoop\apps\maven3\current\bin\mvn.cmd -pl 
zookeeper-server -Dtest=FileTxnSnapLogTest 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