[
https://issues.apache.org/jira/browse/ZOOKEEPER-1551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650961#comment-13650961
]
Flavio Junqueira commented on ZOOKEEPER-1551:
---------------------------------------------
I'm really confuse about all the sequence of jiras that we need to get it.
According to my bookkeeping, we have: ZOOKEEPER-1413, ZOOKEEPER-1549,
ZOOKEEPER-1552, ZOOKEEPER-1642, ZOOKEEPER-1667, ZOOKEEPER-1674. Am I missing
any? Now, I'd like to understand which order we need to follow to get them in.
Should we have a discussion on the dev list about it?
> Observer ignore txns that comes after snapshot and UPTODATE
> ------------------------------------------------------------
>
> Key: ZOOKEEPER-1551
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1551
> Project: ZooKeeper
> Issue Type: Bug
> Components: quorum, server
> Affects Versions: 3.4.3
> Reporter: Thawan Kooburat
> Assignee: Thawan Kooburat
> Priority: Blocker
> Fix For: 3.5.0, 3.4.6
>
> Attachments: ZOOKEEPER-1551.patch, ZOOKEEPER-1551.patch,
> ZOOKEEPER-1551-trunk.patch
>
>
> In Learner.java, txns which comes after the learner has taken the snapshot
> (after NEWLEADER packet) are stored in packetsNotCommitted. The follower has
> special logic to apply these txns at the end of syncWithLeader() method.
> However, the observer will ignore these txns completely, causing data
> inconsistency.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira