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

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

Commit c92a91eae587800c9d24c973e536cdfe8da6f38a in geode's branch 
refs/heads/develop from Alberto Gomez
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c92a91e ]

GEODE-8656: Fix ping only sent to one gateway receiver when several r… (#5670)

* GEODE-8656: Fix ping only sent to one gateway receiver when several receivers 
share the same hostname-for-senders

When serveral receivers have the same hostname-for-senders only one of them 
received
pings.
The reason was that the structure holding the endpoints was a Map whose key was
the server location. As all the endpoints for the remote gateway senders shared
the same server location, only one received the ping.

The structure holding endpoints in the endpoint manager has been updated to use
as key a ServerLocationAndMemberId class instead of ServerLocation.

> Ping not sent to the right gateway receiver endpoint when several receivers 
> have the same hostname-for-senders value
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-8656
>                 URL: https://issues.apache.org/jira/browse/GEODE-8656
>             Project: Geode
>          Issue Type: Bug
>          Components: wan
>            Reporter: Alberto Gomez
>            Assignee: Alberto Gomez
>            Priority: Major
>              Labels: pull-request-available
>
> When several gateway receivers have the same value for hostname-for-senders 
> (for example when running Geode under kubernetes and a load balancer balances 
> the load among the remote servers), the ping messages sent from the gateway 
> sender client are only sent to the receiver (endpoint) to which the sender 
> connected first.
> The other receivers will not get the ping message which will imply that the 
> connections towards them will be closed after the configured timeout expires.
> This ticket is a continuation of the work done ticket GEODE-7565.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to