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

Observers ignore txns that come after snapshot and UPTODATE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4.3
    • Fix Version/s: 3.4.6, 3.5.0
    • Component/s: quorum, server
    • Labels:
      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 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 Junqueira

          Issue Links

            Activity

              People

              • Assignee:
                thawan Thawan Kooburat
                Reporter:
                thawan Thawan Kooburat
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: