Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3946

Convergence fails when a follower missed the committedLog synching with the leader if it was an old leader and the leader falls back to send snapshot.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.7.0
    • None
    • quorum, server
    • None

    Description

      If a follower which is the old leader that saw a transaction by itself tries to sync with the new leader, it is possible that the follower goes for the fifth cases in the syncFollower method of LearnerHandler.java. That is, it is the follower missed the committedLog. The leader may end up sending snapshot. However, the leader does not send TRUNC. Therefore, the transaction only the follower saw remains and gets applied to the in-memory data tree of the follower even after synchronization is complete. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            anaud anaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: