Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.