You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Mate Szalay-Beko (Jira)" <ji...@apache.org> on 2022/05/16 19:14:00 UTC

[jira] [Commented] (ZOOKEEPER-3781) Zookeeper 3.5.7 not creating snapshot

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537739#comment-17537739 ] 

Mate Szalay-Beko commented on ZOOKEEPER-3781:
---------------------------------------------

this is an important fix, I cherry-picked it to branch-3.5 to be part of the release 3.5.10 I'm working on.

As it was missing also from branch-3.6, I pushed it there too (after running the tests).

 

> 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: Wei Chu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.10, 3.7.0, 3.8.0, 3.6.4
>
>         Attachments: zk_no_snapshot.zip
>
>          Time Spent: 4h 20m
>  Remaining Estimate: 0h
>
> 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.20.7#820007)