This commit is contained in:
Clebert Suconic 2020-06-17 13:52:36 -04:00
commit 7f3ee5e853
1 changed files with 5 additions and 0 deletions

View File

@ -1071,6 +1071,11 @@ public class ActiveMQServerImpl implements ActiveMQServer {
} }
state = SERVER_STATE.STOPPING; 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) { if (fileStoreMonitor != null) {
fileStoreMonitor.stop(); fileStoreMonitor.stop();
fileStoreMonitor = null; fileStoreMonitor = null;