Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
3.5.10, 3.6.3, 3.7.0, 3.8.0, 3.7.1, 3.6.4, 3.8.1
-
None
Description
After the FIX of ZOOKEEPER-1796, LearnerZooKeeperServer.shutdown() should be responsible for the shutdown logic of both the follower and observer. ObserverZooKeeperServer.shutdown() seems redundant, because it is not in the call stack of Observer.shutdown(). (Note that FollowerZooKeeperServer does not have the shutdown() method.)
Related analysis can be found in ZOOKEEPER-4712
Attachments
Issue Links
- is superceded by
-
ZOOKEEPER-4712 Follower.shutdown() and Observer.shutdown() do not correctly shutdown the syncProcessor, which may lead to data inconsistency
- Closed
- links to