You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by "seekskyworld (via GitHub)" <gi...@apache.org> on 2026/01/14 05:43:55 UTC
[PR] ZOOKEEPER-5010: purge orphaned ephemerals after DIFF sync [zookeeper]
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: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org