[ https://issues.apache.org/jira/browse/GEODE-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15612332#comment-15612332 ]
ASF subversion and git services commented on GEODE-2000: -------------------------------------------------------- Commit 87f2fb5f32f71b0fda74fa61c1237b41f4c7ef11 in incubator-geode's branch refs/heads/develop from [~bschuchardt] [ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=87f2fb5 ] GEODE-2000 client should see server-bind-address in event memberId The previous fix for this caused confusion as it changed the server memberId that is used in other places and should remain unchanged. This change set alters just the listener-invocation code in the client cache so that client events are based on the ServerLocation information returned by the Locator or added to the connection pool by applications. Udo worked with me on this and we found the listener invocation code to be somewhat convoluted, mixing server-side notification about clients with client-side notification about servers in the same code. This lead to a bit of refactoring in InternalClientMembership to separate the two. A number of changes had to be made in test code. Some tests were requiring that client-side listeners see the server's exact member ID which is no longer true since the ID being fabricated out of a ServerLocation doesn't have as much detail as the true member ID and so is not equal() to it. Some other test code was creating ServerLocation objects with non-existent host names. This is no longer allowed so we changed these tests to use a numeric IP address. > ClientMemberShipListener at client should return hostname on which > cacheserver is listening(i.e. server-bind-address) > --------------------------------------------------------------------------------------------------------------------- > > Key: GEODE-2000 > URL: https://issues.apache.org/jira/browse/GEODE-2000 > Project: Geode > Issue Type: Bug > Components: client/server > Reporter: Hitesh Khamesra > Assignee: Bruce Schuchardt > > ClientMembershipListener's callback method has clientMembershipEvent. This > returns distributedmember object. This object should return > server-bind-address at client. -- This message was sent by Atlassian JIRA (v6.3.4#6332)