mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-06 10:09:01 +00:00
ARTEMIS-2807 avoid notifications on critical IO error
This commit is contained in:
parent
8e8bbc93ac
commit
79e05774b8
@ -1071,6 +1071,11 @@ public class ActiveMQServerImpl implements ActiveMQServer {
|
||||
}
|
||||
state = SERVER_STATE.STOPPING;
|
||||
|
||||
if (criticalIOError) {
|
||||
// notifications trigger disk IO so we don't want to send any on a critical IO error
|
||||
managementService.enableNotifications(false);
|
||||
}
|
||||
|
||||
if (fileStoreMonitor != null) {
|
||||
fileStoreMonitor.stop();
|
||||
fileStoreMonitor = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user