handle errors from recovery check gracefully

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581792 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-10-04 08:00:39 +00:00
parent 3c1a8474f9
commit fc69b29343
1 changed files with 4 additions and 0 deletions

View File

@ -169,8 +169,12 @@ public final class AsyncDataManager {
// 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);