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

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

Darrel Schneider created GEODE-10336:
----------------------------------------

             Summary: 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


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.7#820007)