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

Christopher L. Shannon edited comment on AMQ-6831 at 11/28/19 1:48 PM:
-----------------------------------------------------------------------

Hmm, it looks like this commit was added 
[https://github.com/apache/activemq/commit/0262338687d7bf811ad9ee0620f77806bd7e08ad]
 with no Jira which is a big problem as we then it's hard to track this stuff 
as seen here.

[~gtully] - What do you think about this?

I'm out of the office until Monday but I can take a look next week at it and 
see if I can reproduce if you don't have time to peek at it.  If there is a 
regression here I'd certainly like to get it fixed ASAP to prevent breaking 
people's data stores.


was (Author: christopher.l.shannon):
Hmm, it looks like this commit was added 
[https://github.com/apache/activemq/commit/0262338687d7bf811ad9ee0620f77806bd7e08ad]
 with no Jira which is a big problem as we then it's hard to track this stuff 
as seen here.

[~gtully] - What do you think about this?

I'm out of the office until Monday but I can take a look next week at it and 
see if I can reproduce if you don't have time to peak at it.  If there is a 
regression here I'd certainly like to get it fixed ASAP to prevent breaking 
people's data stores.

> Broker fails to start complaining about missing/corrupt journal files
> ---------------------------------------------------------------------
>
>                 Key: AMQ-6831
>                 URL: https://issues.apache.org/jira/browse/AMQ-6831
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.15.1, 5.15.11
>            Reporter: masc
>            Assignee: Gary Tully
>            Priority: Critical
>             Fix For: 5.16.0, 5.15.2
>
>         Attachments: kahadb.zip
>
>
> {code}
> 2017-10-09 12:29:36.802 ERROR 4197 --- [pool-3-thread-1] 
> org.deku.leoz.node.Application           : java.io.IOException: Detected 
> missing/corrupt journal files referenced by:[0:ActiveMQ.DLQ] 3 messages 
> affected.
> java.lang.Error: java.io.IOException: Detected missing/corrupt journal files 
> referenced by:[0:ActiveMQ.DLQ] 3 messages affected.
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148)
>  ~[na:1.8.0_131]
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  ~[na:1.8.0_131]
>       at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_131]
> Caused by: java.io.IOException: Detected missing/corrupt journal files 
> referenced by:[0:ActiveMQ.DLQ] 3 messages affected.
>       at 
> org.apache.activemq.store.kahadb.MessageDatabase.recoverIndex(MessageDatabase.java:965)
>  ~[activemq-kahadb-store-5.15.1.jar:5.15.1]
>       at 
> org.apache.activemq.store.kahadb.MessageDatabase$5.execute(MessageDatabase.java:717)
>  ~[activemq-kahadb-store-5.15.1.jar:5.15.1]
>       at 
> org.apache.activemq.store.kahadb.disk.page.Transaction.execute(Transaction.java:779)
>  ~[activemq-kahadb-store-5.15.1.jar:5.15.1]
>       at 
> org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:714)
>  ~[activemq-kahadb-store-5.15.1.jar:5.15.1]
>       at 
> org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:473)
>  ~[activemq-kahadb-store-5.15.1.jar:5.15.1]
>       at 
> org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:493)
>  ~[activemq-kahadb-store-5.15.1.jar:5.15.1]
>       at 
> org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:297)
>  ~[activemq-kahadb-store-5.15.1.jar:5.15.1]
>       at 
> org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:219) 
> ~[activemq-kahadb-store-5.15.1.jar:5.15.1]
>       at 
> org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55) 
> ~[activemq-client-5.15.1.jar:5.15.1]
>       at 
> org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.doStart(KahaDBPersistenceAdapter.java:232)
>  ~[activemq-kahadb-store-5.15.1.jar:5.15.1]
> {code}
> Downgrading to 5.15.0 resolves the problem.
> This is an embedded broker setup, using
> {code:none}
>         val pa = brokerService.persistenceAdapter as KahaDBPersistenceAdapter
>         pa.isCheckForCorruptJournalFiles = true
>         pa.isIgnoreMissingJournalfiles = false
> {code}



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

Reply via email to