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

Zookeeper 3.5.7 not creating snapshot

    XMLWordPrintableJSON

Details

    Description

      Hi,

      In our deployment, we are using zookeepers as Kafka quorum.

      Recently we upgraded Zookeeper from 3.4.14 to 3.5.7.
      During the upgrade, we enabled snapshot.trust.empty and removed it after.
      However, about 25% of zookeepers (all on 3.5.7) are not creating snapshot files, so they keep crashing on reboot with ERROR.

      ERROR [main:QuorumPeer@937] - Unable to load database on disk
      <http://java.io|java.io>.IOException: No snapshot found, but there are log entries. Something is broken!
      

      Nothing suspecious did I find from the zookeeper log.

      I managed to reproduce the issue with the data from our servers, I put them in the attachment.

      Attachments

        1. zk_no_snapshot.zip
          1.57 MB
          Wei Chu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              weichu Wei Chu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 20m
                  4h 20m