You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Galen O'Sullivan (JIRA)" <ji...@apache.org> on 2017/12/18 22:50:00 UTC
[jira] [Created] (GEODE-4115) Remove nullability of
InternalLocator.myDS
Galen O'Sullivan created GEODE-4115:
---------------------------------------
Summary: Remove nullability of InternalLocator.myDS
Key: GEODE-4115
URL: https://issues.apache.org/jira/browse/GEODE-4115
Project: Geode
Issue Type: Bug
Components: client/server
Reporter: Galen O'Sullivan
{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
(v6.4.14#64029)