You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/02/04 05:00:00 UTC

[jira] [Commented] (GEODE-8324) Events are not being replicated from one WAN site to another when there are multiple paths between the sites and the direct one is stopped

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

ASF GitHub Bot commented on GEODE-8324:
---------------------------------------

onichols-pivotal commented on pull request #5331:
URL: https://github.com/apache/geode/pull/5331#issuecomment-773029200


   This PR has been inactive for some while, can it be closed?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Events are not being replicated from one WAN site to another when there are multiple paths between the sites and the direct one is stopped
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-8324
>                 URL: https://issues.apache.org/jira/browse/GEODE-8324
>             Project: Geode
>          Issue Type: Bug
>          Components: wan
>            Reporter: Barrett Oglesby
>            Assignee: Barrett Oglesby
>            Priority: Major
>              Labels: caching-applications, pull-request-available
>
> Scenario
>  --------
>  The configuration is a normal star/mesh pattern where each site is connected to each other site.
> So, there are 2 paths from site-A to site-B:
>  - the direct (site-A -> site-B)
>  - the indirect path (site-A -> site-C -> site-B)
> If the direct path (meaning the sender in site-A to site-B) is stopped and a put is done in site-A, site-B doesn't receive the event even though the indirect path is not stopped.
> Here is the behavior:
> Site-A - dsid=1
>  Site-B - dsid=2
>  Site-C - dsid=3
> Site-A
>  ------
>  Since site-A is configured with site-B and site-C, its events will contain recipient dsids for those sites (2 and 3 below).
> The event sent to site-C will look like:
> {noformat}
> AbstractGatewaySender.distribute sender=site-C processing local event newCallbackArg=GatewaySenderEventCallbackArgument [originatingSenderId=1;recipientGatewayReceivers={3, 2}]; region=/data; key=0
> {noformat}
> Site-C
>  ------
>  Site-C receives the event:
> {noformat}
> GatewayReceiverCommand.cmdExecute processing create region=/data; key=0
> {noformat}
> The sender to site-B drops the event since it thinks it is already a recipient:
> {noformat}
> AbstractGatewaySender.distribute sender=site-B received event from remote site receivedCallbackArg=GatewaySenderEventCallbackArgument [originatingSenderId=1;recipientGatewayReceivers={3, 2}]; region=/data; key=0; eventId=EventID[id=25 bytes;threadID=0x10030|1;sequenceID=0;bucketId=48]
> AbstractGatewaySender.distribute sender=site-B dropping event since it is already a recipient
> {noformat}



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