[AMQ Streams] Zookeeper Pod is in CrashLoopBackOff with an ERROR Unable to load database on disk

Solution Verified - Updated -

Issue

  • Zookeeper Pod is in CrashLoopBackOff status with the following error:

    INFO Snapshot loaded in 35 ms, highest zxid is 0xd2100000004, digest is 845877382883 (org.apache.zookeeper.server.ZKDatabase) [main]
    
    ERROR Unable to load database on disk (org.apache.zookeeper.server.quorum.QuorumPeer) [main]
    java.io.IOException: The current epoch, d20, is older than the last zxid, 14435385081860
        at org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:1123)
        at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:1079)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:227)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:136)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:90)
    
    ERROR Unexpected exception, exiting abnormally (org.apache.zookeeper.server.quorum.QuorumPeerMain) [main]
    java.lang.RuntimeException: Unable to run quorum server 
        at org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:1149)
        at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:1079)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:227)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:136)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:90)
            Caused by: java.io.IOException: The current epoch, d20, is older than the last zxid, 14435385081860
        at org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:1123)
        ... 4 more
    

Environment

  • Red Hat AMQ (AMQ Streams) 2.2.0
  • Red Hat OpenShift Container (Openshift) 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content