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

   Issue: https://issues.apache.org/jira/browse/ZOOKEEPER-5010
   
   Summary
   - Purge ephemerals for sessions not tracked after DIFF sync to prevent state 
divergence.
   - Add a LearnerTest for orphaned ephemeral cleanup.
   
   Motivation
   - DIFF sync keeps the follower data tree; if a session is gone but its 
ephemerals remain, the follower can diverge permanently.
   
   Validation
   - mvn -pl zookeeper-server -Dtest=LearnerTest#testPurgeOrphanedEphemerals 
test
   - mvn -pl zookeeper-server -Dtest=DIFFSync* test
   - mvn -pl zookeeper-server -Dtest=QuorumDigestTest 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