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

The last logged zxid calculated by zookeeper servers could cause problems in leader election if data gets corrupted.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0
    • None
    • None
    • Reviewed

    Description

      It is possible that the last loggged zxid as reported by all the servers during leader election is not the last zxid that the server can upload data to. It is very much possible that some transaction or snapshot gets corrupted and the servers actually do not have valid data till last logged zxid. We need to make sure that what the servers report as there last logged zxid, they are able to load data till that zxid.

      Attachments

        1. ZOOKEEPER-596.patch
          65 kB
          Mahadev Konar
        2. ZOOKEEPER-596.patch
          65 kB
          Mahadev Konar
        3. ZOOKEEPER-596.patch
          64 kB
          Mahadev Konar
        4. ZOOKEEPER-596.patch
          65 kB
          Mahadev Konar
        5. ZOOKEEPER-596.patch
          57 kB
          Mahadev Konar
        6. ZOOKEEPER-596.patch
          53 kB
          Mahadev Konar

        Issue Links

          Activity

            People

              mahadev Mahadev Konar
              mahadev Mahadev Konar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: