[hornetq-commits] JBoss hornetq SVN: r9435 - trunk/src/main/org/hornetq/core/journal/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Jul 20 16:39:20 EDT 2010


Author: clebert.suconic at jboss.com
Date: 2010-07-20 16:39:20 -0400 (Tue, 20 Jul 2010)
New Revision: 9435

Modified:
   trunk/src/main/org/hornetq/core/journal/impl/JournalCompactor.java
Log:
adding id on exception message to improve debug

Modified: trunk/src/main/org/hornetq/core/journal/impl/JournalCompactor.java
===================================================================
--- trunk/src/main/org/hornetq/core/journal/impl/JournalCompactor.java	2010-07-20 15:04:06 UTC (rev 9434)
+++ trunk/src/main/org/hornetq/core/journal/impl/JournalCompactor.java	2010-07-20 20:39:20 UTC (rev 9435)
@@ -302,7 +302,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");
+         throw new IllegalStateException("Inconsistency during compacting: Delete record being read on an existent record (id=" + recordID + ")");
       }
 
    }



More information about the hornetq-commits mailing list