You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/05 15:46:00 UTC

[jira] [Updated] (GEODE-10336) ConnectionTable.close does not null out its static lastInstance field

     [ https://issues.apache.org/jira/browse/GEODE-10336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated GEODE-10336:
-----------------------------------
    Labels: blocks-1.16.0 pull-request-available  (was: blocks-1.16.0)

> ConnectionTable.close does not null out its static lastInstance field
> ---------------------------------------------------------------------
>
>                 Key: GEODE-10336
>                 URL: https://issues.apache.org/jira/browse/GEODE-10336
>             Project: Geode
>          Issue Type: Bug
>          Components: membership
>            Reporter: Darrel Schneider
>            Assignee: Mario Ivanac
>            Priority: Major
>              Labels: blocks-1.16.0, pull-request-available
>
> The ConnectionTable.close method does a bunch of work but it does not null out the static "lastInstance" atomic. This causes it to keep the ConnectionTable alive which ends up keeping the InternalDistributedSystem alive.
> The easiest fix is to do  this at the end of close: "emergencyClose();". The emergencyClose correctly set the lastInstance atomic to null.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)