You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Ryan McMahon (JIRA)" <ji...@apache.org> on 2019/04/26 17:50:00 UTC

[jira] [Created] (GEODE-6715) Possible NPE if member is becoming elder while shutting down

Ryan McMahon created GEODE-6715:
-----------------------------------

             Summary: Possible NPE if member is becoming elder while shutting down
                 Key: GEODE-6715
                 URL: https://issues.apache.org/jira/browse/GEODE-6715
             Project: Geode
          Issue Type: Bug
          Components: membership
            Reporter: Ryan McMahon
             Fix For: 1.10.0


There is a race which can occur if a member is shutting down and becoming elder simultaneously that results in an NPE. The logic for becoming elder assumes we always successfully become the elder, but that might not be the case if the member is shutting down. See the "close in progress" case in ClusterElderManager.waitForElder() method to see when we would return false.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)