Author: clebert.suconic(a)jboss.com
Date: 2011-03-08 10:07:51 -0500 (Tue, 08 Mar 2011)
New Revision: 10305
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/journal/impl/JournalCompactor.java
Log:
make the sanity check here a warn to avoid compacting issues
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/journal/impl/JournalCompactor.java
===================================================================
---
branches/Branch_2_2_EAP/src/main/org/hornetq/core/journal/impl/JournalCompactor.java 2011-03-08
07:45:20 UTC (rev 10304)
+++
branches/Branch_2_2_EAP/src/main/org/hornetq/core/journal/impl/JournalCompactor.java 2011-03-08
15:07:51 UTC (rev 10305)
@@ -342,7 +342,7 @@
if (pendingTransactions.get(transactionID) != null)
{
// Sanity check, this should never happen
- throw new IllegalStateException("Inconsistency during compacting:
CommitRecord ID = " + transactionID +
+ log.warn("Inconsistency during compacting: CommitRecord ID = " +
transactionID +
" for an already committed transaction
during compacting");
}
else
@@ -366,7 +366,7 @@
if (newRecords.get(recordID) != null)
{
// Sanity check, it should never happen
- throw new IllegalStateException("Inconsistency during compacting: Delete
record being read on an existent record (id=" + recordID +
+ log.warn("Inconsistency during compacting: Delete record being read on an
existent record (id=" + recordID +
")");
}
Show replies by date