mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-5603 - catch interrupted on chunked zeros case
This commit is contained in:
parent
2e00891827
commit
555cd2b6bb
|
@ -408,6 +408,8 @@ public class Journal {
|
||||||
|
|
||||||
channel.force(false);
|
channel.force(false);
|
||||||
channel.position(0);
|
channel.position(0);
|
||||||
|
} catch (ClosedByInterruptException ignored) {
|
||||||
|
LOG.trace("Could not preallocate journal file with zeros", ignored);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.error("Could not preallocate journal file with zeros! Will continue without preallocation", e);
|
LOG.error("Could not preallocate journal file with zeros! Will continue without preallocation", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue