You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Michael Dodge (JIRA)" <ji...@apache.org> on 2018/03/02 18:29:00 UTC

[jira] [Assigned] (GEODE-4115) Remove nullability of InternalLocator.myDS

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

Michael Dodge reassigned GEODE-4115:
------------------------------------

    Assignee: Michael Dodge

> Remove nullability of InternalLocator.myDS
> ------------------------------------------
>
>                 Key: GEODE-4115
>                 URL: https://issues.apache.org/jira/browse/GEODE-4115
>             Project: Geode
>          Issue Type: Improvement
>          Components: client/server
>            Reporter: Galen O'Sullivan
>            Assignee: Michael Dodge
>            Priority: Major
>
> {code}
>   /**
>    * The distributed system owned by this locator, if any. Note that if a ds already exists because
>    * the locator is being colocated in a normal member this field will be null.
>    */
>   private InternalDistributedSystem myDs;
> {code}
> I don't think that this should be nullable. It makes things more complicated -- when we start a colocated locator, the protobuf protocol statistics initialization has to check {{InternalDistributedSystem.getAnyInstance()}} to get a DS. Can that call be null? I'm not sure.



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