You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2009/09/23 18:15:51 UTC

[jira] Created: (AMQ-2405) Support gracefull data recovery in even when datafile are corrupted.

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.


[jira] Resolved: (AMQ-2405) Support gracefull data recovery in even when datafile are corrupted.

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino resolved AMQ-2405.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.3.0

patch applied.

> 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
>             Fix For: 5.3.0
>
>
> 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.