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

Matt Pavlovich updated AMQ-9254:
--------------------------------
    Description: 
Log message:
{noformat}
Caused by: java.io.IOException: Invalid location size: 54:33554460, size: 2412
        at 
org.apache.activemq.store.kahadb.disk.journal.DataFileAccessor.readRecord(DataFileAccessor.java:88)
 ~[?:?]
        at 
org.apache.activemq.store.kahadb.disk.journal.Journal.read(Journal.java:953) 
~[?:?]
        at 
org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:1197)
 ~[?:?]
        at 
org.apache.activemq.store.kahadb.KahaDBStore.loadMessage(KahaDBStore.java:1401) 
~[?:?]
        ... 74 more
{noformat}

Reproducible test case:

ref: https://github.com/mattrpav/activemq-jira-9254

  was:
Reproducible test case:

ref: https://github.com/mattrpav/activemq-jira-9254


> KahaDB minor fix when db files may be larger than max length
> ------------------------------------------------------------
>
>                 Key: AMQ-9254
>                 URL: https://issues.apache.org/jira/browse/AMQ-9254
>             Project: ActiveMQ
>          Issue Type: Task
>            Reporter: Matt Pavlovich
>            Priority: Minor
>
> Log message:
> {noformat}
> Caused by: java.io.IOException: Invalid location size: 54:33554460, size: 2412
>         at 
> org.apache.activemq.store.kahadb.disk.journal.DataFileAccessor.readRecord(DataFileAccessor.java:88)
>  ~[?:?]
>         at 
> org.apache.activemq.store.kahadb.disk.journal.Journal.read(Journal.java:953) 
> ~[?:?]
>         at 
> org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:1197)
>  ~[?:?]
>         at 
> org.apache.activemq.store.kahadb.KahaDBStore.loadMessage(KahaDBStore.java:1401)
>  ~[?:?]
>         ... 74 more
> {noformat}
> Reproducible test case:
> ref: https://github.com/mattrpav/activemq-jira-9254



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to