[ https://issues.apache.org/jira/browse/AMQ-6522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15705029#comment-15705029 ]
ASF subversion and git services commented on AMQ-6522: ------------------------------------------------------ Commit dad629e889b2116a778fd4f77680a1b2944b400f in activemq's branch refs/heads/master from [~gtully] [ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=dad629e ] [AMQ-6522] - remove hardcoded 32k batch limit from recovery check of the journal, fix and test > KahaDB - checkForCorruptJournalFiles has hard coded 32k batch size limit in > error > ---------------------------------------------------------------------------------- > > Key: AMQ-6522 > URL: https://issues.apache.org/jira/browse/AMQ-6522 > Project: ActiveMQ > Issue Type: Bug > Components: KahaDB, Message Store > Affects Versions: 5.14.0 > Reporter: Gary Tully > Assignee: Gary Tully > Fix For: 5.15.0 > > > Using setCheckForCorruptJournalFiles=true, there is a sanity check of the > journal at startup - skipping through each of the journal files validating > batch record checksums and magic in an effort to detect corruption early and > drop the relevant messages or error out. > There is an error in the check logic that assumes a batch record must be < > 32k which is not the case if a message is > 32k > Tidy up this check and add some more detail to the error messages. -- This message was sent by Atlassian JIRA (v6.3.4#6332)