[ 
https://issues.apache.org/jira/browse/GEODE-10127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511514#comment-17511514
 ] 

ASF subversion and git services commented on GEODE-10127:
---------------------------------------------------------

Commit c17509653d807026040121bcd63461de0eeba86c in geode's branch 
refs/heads/develop from Dan Smith
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c175096 ]

GEODE-10127: Use correct hostname in WAN with LB test

This test is making gateway sender side members to connect to the receiver side
through a load balance.  This test used "localhost" as the hostname for
clients. That worked previously, because we were actually losing the
hostname-for-clients in the RemoteLocatorResponse, and instead sending the IP
address, due to the changes in GEODE-8955.

With the fix for GEODE-10127, we are now correctly sending the
hostname-for-clients to the gateway sender, and so
now "localhost" doesn't work. The correct hostname-for-clients is the IP
address we get from docker-compose.

Changing the test to pass the IP address instead of "localhost" to the receiver
locator, just like we do for the receivers themselves.

Replacing the gfsh scripts in the
SeveralGatewayReceiversWithSamePortAndHostnameForSendersTest with inline gfsh
-e statements in the java code.

> Incorrect locator hostname used in remote locator connections
> -------------------------------------------------------------
>
>                 Key: GEODE-10127
>                 URL: https://issues.apache.org/jira/browse/GEODE-10127
>             Project: Geode
>          Issue Type: Bug
>          Components: wan
>    Affects Versions: 1.15.0
>            Reporter: Jacob Barrett
>            Assignee: Jacob Barrett
>            Priority: Major
>              Labels: blocks-1.15.0​, pull-request-available
>
> When locators in distributed system (DS) B as for locators in DS A they are 
> sent the local host name and IP address of the locators and not that of the 
> {{hostname-for-clients}} or {{bind-address}} properties.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to