You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dick Cavender (Jira)" <ji...@apache.org> on 2019/09/26 18:03:09 UTC

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

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

Dick Cavender closed GEODE-6715.
--------------------------------

> 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
>            Priority: Major
>             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
(v8.3.4#803005)