[
https://issues.apache.org/jira/browse/ARTEMIS-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16074374#comment-16074374
]
ASF GitHub Bot commented on ARTEMIS-1271:
-----------------------------------------
GitHub user mtaylor opened a pull request:
https://github.com/apache/activemq-artemis/pull/1384
ARTEMIS-1271 FileSystemMonitor locking improvement
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mtaylor/activemq-artemis ARTEMIS-1271
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1384.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1384
----
commit fd81cca9d8c653c32aa8be87b5957622461481c8
Author: Martyn Taylor <[email protected]>
Date: 2017-07-04T13:50:59Z
ARTEMIS-1271 FileSystemMonitor locking improvement
----
> Deadlock on shutdown may occur if using shared store and network cable is
> pulled
> --------------------------------------------------------------------------------
>
> Key: ARTEMIS-1271
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1271
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Martyn Taylor
> Assignee: Martyn Taylor
>
> The FileStoreMonitor locks it's monitor lock when scanning the file system
> for usage. If using a shared store and the network cable is pulled. The
> call to get file system usage may hang. This prevents the server from
> shutting down. There is a shutdownNow call on the relevant thread pool which
> will interupt the thread, but the stop() call is blocked on the
> FileStoreMonitor monitor lock.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)