You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Diogo (JIRA)" <ji...@apache.org> on 2011/04/11 16:50:05 UTC
[jira] [Updated] (ZOOKEEPER-874) FileTxnSnapLog.restore does not
call listener
[ https://issues.apache.org/jira/browse/ZOOKEEPER-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diogo updated ZOOKEEPER-874:
----------------------------
Attachment: ZOOKEEPER-874.patch
The same patch now with test case
> FileTxnSnapLog.restore does not call listener
> ---------------------------------------------
>
> Key: ZOOKEEPER-874
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-874
> Project: ZooKeeper
> Issue Type: Bug
> Components: leaderElection
> Affects Versions: 3.3.1
> Reporter: Diogo
> Assignee: Diogo
> Priority: Trivial
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-874.patch, ZOOKEEPER-874.patch
>
>
> FileTxnSnapLog.restore() does not call listener passed as parameter. The result is that the commitLogs list is empty. When a follower connects to the leader, the leader is forced to send a snapshot to the follower instead of a couple of requests and commits.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira