mirror of https://github.com/apache/activemq.git
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:
parent
3c1a8474f9
commit
fc69b29343
|
@ -169,8 +169,12 @@ public final class AsyncDataManager {
|
||||||
|
|
||||||
// If we know the last location that was ok.. then we can skip lots
|
// If we know the last location that was ok.. then we can skip lots
|
||||||
// of checking
|
// of checking
|
||||||
|
try{
|
||||||
l = recoveryCheck(currentWriteFile, l);
|
l = recoveryCheck(currentWriteFile, l);
|
||||||
lastAppendLocation.set(l);
|
lastAppendLocation.set(l);
|
||||||
|
}catch(IOException e){
|
||||||
|
LOG.warn("recovery check failed", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
storeState(false);
|
storeState(false);
|
||||||
|
|
Loading…
Reference in New Issue