[
https://issues.apache.org/jira/browse/GEODE-9101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mario Kevo updated GEODE-9101:
------------------------------
Labels: pull-request-available (was: needs-review pull-request-available)
> Attribute VisibleNodes in MemberMXBean is incorrect
> ---------------------------------------------------
>
> Key: GEODE-9101
> URL: https://issues.apache.org/jira/browse/GEODE-9101
> Project: Geode
> Issue Type: Bug
> Components: statistics
> Reporter: Mario Kevo
> Assignee: Mario Kevo
> Priority: Major
> Labels: pull-request-available
>
> In documentation states:
> _The current number of nodes in this distributed system visible to this
> member._
> But checking the value of the attribute we have a difference between locator
> and server.
> For example, we have the following system:
> {code:java}
>
> gfsh>list members
> Member Count : 4
> Name | Id
> -------- | -----------------------------------------------------------------
> locator1 | 192.168.0.145(locator1:26377:locator)<ec><v0>:41000 [Coordinator]
> locator2 | 192.168.0.145(locator2:26509:locator)<ec><v1>:41001
> server1 | 192.168.0.145(server1:26648)<v2>:41002
> server2 | 192.168.0.145(server2:26768)<v3>:41003
>
> {code}
>
> For locators visibleNodes = 2, but for servers visibleNodes = 3.
> Locators see only servers as visible nodes(In this case it sees *server1* and
> *server2*).
> Servers see first locator and all servers, including itself(In this case
> server1 sees *locator1*, *server1* and *server2*).
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)