activemq-dev mailing list archives

[jira] [Resolved] (AMQ-4907) kahadb - do some sanity check on the index when checkForCorruptJournalFiles

Date

Fri, 29 Nov 2013 12:33:35 GMT

[ https://issues.apache.org/jira/browse/AMQ-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Tully resolved AMQ-4907.
-----------------------------
Resolution: Fixed
fix in http://git-wip-us.apache.org/repos/asf/activemq/commit/06f24e2e
> kahadb - do some sanity check on the index when checkForCorruptJournalFiles
> ---------------------------------------------------------------------------
>
> Key: AMQ-4907
> URL: https://issues.apache.org/jira/browse/AMQ-4907
> Project: ActiveMQ
> Issue Type: Bug
> Components: Message Store
> Affects Versions: 5.9.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Labels: checkForCorruptJournalFiles, corrupt, index, kahadb
> Fix For: 5.10.0
>
>
> When the index is corrupt all bets are off and we need to replay the journal to rebuild
the index. We do this automatically on a failure to load the index. When the index loads and
is still corrupt, we can resume and messages are unavailable.
> Adding some sanity checking to the index, when checkForCorruptJournalFiles is enabled
(paranoid mode) will allow us to detect corruption and force an auto recreation.
--
This message was sent by Atlassian JIRA
(v6.1#6144)