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

Observers ignore txns that come after snapshot and UPTODATE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.4.3
    • 3.4.6, 3.5.0
    • quorum, server
    • None

    Description

      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.

      Attachments

        1. ZOOKEEPER-1551.patch
          17 kB
          Thawan Kooburat
        2. ZOOKEEPER-1551.patch
          17 kB
          Thawan Kooburat
        3. ZOOKEEPER-1551-trunk.patch
          20 kB
          Flavio Paiva Junqueira
        4. ZOOKEEPER-1551-3.4.patch
          17 kB
          Thawan Kooburat
        5. ZOOKEEPER-1551-trunk.patch
          20 kB
          Thawan Kooburat
        6. ZOOKEEPER-1551-trunk.patch
          21 kB
          Thawan Kooburat
        7. ZOOKEEPER-1551-b3.4.patch
          20 kB
          Flavio Paiva Junqueira

        Issue Links

          Activity

            People

              thawan Thawan Kooburat
              thawan Thawan Kooburat
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: