-
Bug
-
Resolution: Done
-
Major
-
JBoss A-MQ 6.2
ActiveMQ is configured for
<persistenceAdapter> <kahaDB directory="/Volumes/SDCARD/kahadb" checkForCorruptJournalFiles="true" checksumJournalFiles="true" ignoreMissingJournalfiles="false" /> </persistenceAdapter>
If a journal record gets corrupted (e.g. an unconsumed message) and if the index also gets corrupted, the broker will restart without raising errors.
It logs the corrupted records at INFO level as in
Corrupt journal records found in '/tmp/kahadb/db-1.log' between offsets: 594..13262
but fully starts up thereafter. Due to ignoreMissingJournalFiles=false it should raise an error and exit.
If only the journal record of an unconsumed message gets corrupted but the index remains valid, the broker will correctly refuse to start but raise
Failed to start Apache ActiveMQ ([amq, null], java.io.IOException: Detected missing/corrupt journal files. 1 messages affected.)
- blocks
-
ENTMQ-1411 A-MQ data corruption in case of file system full
- Closed
- cloned to
-
AMQ-6083 Loading...