You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Matt Pavlovich (Jira)" <ji...@apache.org> on 2021/03/18 14:25:00 UTC

[jira] [Closed] (AMQ-5196) Corrupted Kahadb store after failover: "Could not load journal record. Invalid location"

     [ https://issues.apache.org/jira/browse/AMQ-5196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Pavlovich closed AMQ-5196.
-------------------------------
    Resolution: Abandoned

Issue marked against old release and no further response from original reporter

> Corrupted Kahadb store after failover: "Could not load journal record. Invalid location"
> ----------------------------------------------------------------------------------------
>
>                 Key: AMQ-5196
>                 URL: https://issues.apache.org/jira/browse/AMQ-5196
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker, Message Store
>    Affects Versions: 5.9.0
>         Environment: Windows 7.
> <persistenceAdapter>
>     <kahaDB directory="\\some.network.lan\amq" ignoreMissingJournalfiles="true" checksumJournalFiles="true" checkForCorruptJournalFiles="true"/>
> </persistenceAdapter>
>            Reporter: Edwin Yu
>            Assignee: Matt Pavlovich
>            Priority: Major
>              Labels: close-pending
>         Attachments: masterNode.log, slaveNode.log
>
>
> I'm not sure if I can reproduce it, but it's important for me to report.  We have a master/slave setup sharing the kahaDB store on a distributed network drive.  The running master encountered some intermittent  network issue for ten minutes or so, and finally invoked my DefaultIOExceptionHandler, which shut down the JVM.  The slave took over and started up.  All remote consumers reconnected to the slave node via the failover protocol.  However, the slave node repeatedly complained about "Could not load journal record. Invalid location".  All consumers were idle and didn't process any messages.  Logs from both nodes are attached.
> We're running ActiveMQ 5.9.0.  I copied over the kabadb folder to the latest ActiveMQ 5.9.1 where I also set ignoreMissingJournalfiles="true" checksumJournalFiles="true" checkForCorruptJournalFiles="true".  It started up with the same error.  It indicated to me that 5.9.1 cannot recover from the corrupted store either.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)