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

isvalidsnapshot should handle the case of 0 snapshot files better.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.0.1
    • 3.1.0
    • None
    • None
    • Reviewed

    Description

      the isvalidsnapshot will fail with negative seek if 0 snapshot files exist. We should just return false in case the size of the snapshot is less than 5 bytes.

      Attachments

        1. ZOOKEEPER-250.patch
          7 kB
          Mahadev Konar
        2. ZOOKEEPER-250.patch
          2 kB
          Mahadev Konar

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: