Support gracefull data recovery in even when datafile are corrupted. 
---------------------------------------------------------------------

                 Key: AMQ-2405
                 URL: https://issues.apache.org/activemq/browse/AMQ-2405
             Project: ActiveMQ
          Issue Type: New Feature
            Reporter: Hiram Chirino


Related to AMQ-2337

I will shortly be submitting a patch to which updates the kahadb store so that:
*  setting checksumJournalFiles="true" - enables journal file check-summing 
*  setting checkForCorruptJournalFiles="true" - enables start up validation of 
all the journal data files against the checksums

If checkForCorruptJournalFiles is enabled, any journal files which did not have 
checksum data record will be skipped during checksum validation.  Enabling 
checksumJournalFiles only affects new journal records created and does not 
update existing journal records.

If a journal checksum violation is detected the broker will fail to to start up 
and report the error.

If you want to ignore the corrupted areas of the datafile (instead of failing 
to start the broker), you should enable the ignoreMissingJournalfiles="true" 
option.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to