[
https://issues.apache.org/jira/browse/ZOOKEEPER-1701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michi Mutsuzaki updated ZOOKEEPER-1701:
---------------------------------------
Attachment: ZOOKEEPER-1701.patch
> When new and old config have the same version, no need to write new config to
> disk or create new connections
> ------------------------------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1701
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1701
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.5.0
> Reporter: Alexander Shraer
> Assignee: Alexander Shraer
> Priority: Minor
> Fix For: 3.5.0
>
> Attachments: ZOOKEEPER-1701.patch, ZOOKEEPER-1701.patch
>
>
> setLastSeenQuorumVerifier in QuorumPeer.java always writes the new config to
> disk and tries to make new connections to servers in new config. When the new
> config has the same version as the committed one (e.g., when the config
> received in a NEWLEADER message is already known to the follower), there's no
> need to write it to disk or to create new connections.
--
This message was sent by Atlassian JIRA
(v6.2#6252)