[
https://issues.apache.org/jira/browse/GEODE-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860317#comment-15860317
]
ASF subversion and git services commented on GEODE-2324:
--------------------------------------------------------
Commit 7b10be4c6295d53b66d26e0461a04b6feecc0ee7 in geode's branch
refs/heads/develop from [~gosullivan]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=7b10be4 ]
[GEODE-2324] Reinstate Exception catching for RuntimeException
so we gain the benefits of logging unchecked exceptions without losing
the type system benefits of having to catch exceptions.
> If AcceptorImpl is interrupted during shutdown, it does not clean up properly.
> ------------------------------------------------------------------------------
>
> Key: GEODE-2324
> URL: https://issues.apache.org/jira/browse/GEODE-2324
> Project: Geode
> Issue Type: Bug
> Components: client/server
> Affects Versions: 1.0.0-incubating
> Reporter: Galen O'Sullivan
> Assignee: Galen O'Sullivan
>
> In {{AcceptorImpl.close()}}, the call to
> {{this.pool.awaitTermination(PoolImpl.SHUTDOWN_TIMEOUT,
> TimeUnit.MILLISECONDS))}} can throw an {{InterruptedException}}, in which
> case neither {pool} nor {{hsPool}} or anything else that comes after is
> properly closed and an error message is logged.
> I believe that the thread will be interrupted if a shutdown command is issued
> (for example, through gfsh), though I haven't created a reproduction yet.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)