activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r581792 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/async/AsyncDataManager.java
Date Thu, 04 Oct 2007 08:00:39 GMT
Author: rajdavies
Date: Thu Oct  4 01:00:39 2007
New Revision: 581792

URL: http://svn.apache.org/viewvc?rev=581792&view=rev
Log:
handle errors from recovery check gracefully

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/async/AsyncDataManager.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/async/AsyncDataManager.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/async/AsyncDataManager.java?rev=581792&r1=581791&r2=581792&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/async/AsyncDataManager.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/async/AsyncDataManager.java
Thu Oct  4 01:00:39 2007
@@ -169,8 +169,12 @@
 
             // If we know the last location that was ok.. then we can skip lots
             // of checking
+            try{
             l = recoveryCheck(currentWriteFile, l);
             lastAppendLocation.set(l);
+            }catch(IOException e){
+            	LOG.warn("recovery check failed", e);
+            }
         }
 
         storeState(false);



Mime
View raw message