You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Galen O'Sullivan (JIRA)" <ji...@apache.org> on 2017/01/19 00:23:26 UTC
[jira] [Updated] (GEODE-2324) If AcceptorImpl is interrupted during
shutdown, it does not clean up properly.
[ https://issues.apache.org/jira/browse/GEODE-2324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galen O'Sullivan updated GEODE-2324:
------------------------------------
Description:
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.
was:
In `AcceptorImpl,close()`, the call to `this.pool.awaitTermination(PoolImpl.SHUTDOWN_TIMEOUT, TimeUnit.MILLISECONDS))` can throw an `InterruptedException`, in which case the 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.
> 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
>
> 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.4#6332)