[ https://issues.apache.org/jira/browse/ZOOKEEPER-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hitoshi Mitake updated ZOOKEEPER-2233: -------------------------------------- Attachment: ZOOKEEPER-2233.patch > Invalid description in the comment of LearnerHandler.syncFollower() > ------------------------------------------------------------------- > > Key: ZOOKEEPER-2233 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2233 > Project: ZooKeeper > Issue Type: Improvement > Reporter: Hitoshi Mitake > Assignee: Hitoshi Mitake > Priority: Trivial > Attachments: ZOOKEEPER-2233.patch > > > LearnerHandler.syncFollower() has a comment like below: > When leader election is completed, the leader will set its > lastProcessedZxid to be (epoch < 32). There will be no txn associated > with this zxid. > However, IIUC, the expression "epoch < 32" (comparison) should be "epoch << > 32" (bitshift). > Of course the error is very trivial but it was a little bit confusing for me, > so I'd like to fix it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)