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

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.7.0
    • Fix Version/s: None
    • Component/s: quorum, server
    • Labels:
      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

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

              Dates

              • Created:
                Updated: