[
https://issues.apache.org/jira/browse/ZOOKEEPER-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17162581#comment-17162581
]
Tharindu commented on ZOOKEEPER-3781:
-------------------------------------
I ran into a similar issue where zookeeper was used for kafka. The version I
upgraded from was 3.4.14 to 3.5.8 using the snapshot.trust.empty=true config to
complete the rolling upgrade.
After the successful rolling upgrade I tried to remove the
snapshot.trust.empty=true and met with the
No snapshot found, but there are log entries. Something is broken!
error. On inspection there were no snapshots created in the data directory as
expected with 3.5.8
> Zookeeper 3.5.7 not creating snapshot
> -------------------------------------
>
> Key: ZOOKEEPER-3781
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3781
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Weichu Liu
> Priority: Major
> Attachments: zk_no_snapshot.zip
>
>
> 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.
> {noformat}
> 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!
> {noformat}
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)