[
https://issues.apache.org/jira/browse/GEODE-6769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846002#comment-16846002
]
ASF subversion and git services commented on GEODE-6769:
--------------------------------------------------------
Commit c15cf96c2cdb982955c091974ab00bdc5598abdc in geode's branch
refs/heads/develop from Juan José Ramos
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c15cf96 ]
GEODE-6769: Fix Coordinator tag in list members (#3603)
The command was searching for the coordinator member and using the
actual object memory reference to execute the comparison, which could
return wrong results..
- Fixed minor warnings.
- When searching for the coordinator, execute the comparison using the
memberUniqueId instead of the memory reference.
> gfsh doesn't always note which node is the coordinator in "list members"
> ------------------------------------------------------------------------
>
> Key: GEODE-6769
> URL: https://issues.apache.org/jira/browse/GEODE-6769
> Project: Geode
> Issue Type: Bug
> Components: gfsh
> Reporter: Bruce Schuchardt
> Assignee: Juan José Ramos Cassella
> Priority: Major
> Labels: GeodeCommons
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Gfsh doesn't always note which member is the coordinator of the cluster.
> Here is output from two concurrently starting locators and two concurrently
> starting servers:
> {noformat}
> (1) Executing - connect --locator=localhost[24589]
> Connecting to Locator at [host=localhost, port=24589] ..
> Connecting to Manager at [host=10.118.20.62, port=24590] ..
> Successfully connected to: [host=10.118.20.62, port=24590]
> (2) Executing - list members
> Name | Id
> --------- | ---------------------------------------------------
> locator-2 | 10.118.20.62(locator-2:13557:locator)<ec><v0>:41000
> server-1 | 10.118.20.62(server-1:13558)<v2>:41001
> locator-1 | 10.118.20.62(locator-1:13559:locator)<ec><v1>:41002
> server-2 | 10.118.20.62(server-2:13560)<v1>:41003
> (1) Executing - connect --locator=localhost[24591]
> Connecting to Locator at [host=localhost, port=24591] ..
> Connecting to Manager at [host=10.118.20.62, port=24592] ..
> Successfully connected to: [host=10.118.20.62, port=24592]
> (2) Executing - list members
> Name | Id
> --------- | -----------------------------------------------------------------
> locator-2 | 10.118.20.62(locator-2:13557:locator)<ec><v0>:41000 [Coordinator]
> server-1 | 10.118.20.62(server-1:13558)<v2>:41001
> locator-1 | 10.118.20.62(locator-1:13559:locator)<ec><v1>:41002
> server-2 | 10.118.20.62(server-2:13560)<v1>:41003
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)