[
https://issues.apache.org/jira/browse/ZOOKEEPER-2233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14626788#comment-14626788
]
Hongchao Deng commented on ZOOKEEPER-2233:
------------------------------------------
LGTM. +1
> 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)