You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Marius Petria (JIRA)" <ji...@apache.org> on 2015/01/05 11:44:35 UTC

[jira] [Commented] (SLING-4009) Multiple endpoint delivery should be fault tolerant

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

Marius Petria commented on SLING-4009:
--------------------------------------

Committed revision 1649499.


A queue is created for each endpoint with the name specified in the endpoint description.

https://github.com/apache/sling/blob/cf076879f572d9976fd002d67e48108af5992eaa/contrib/extensions/distribution/sample/src/main/resources/SLING-CONTENT/libs/sling/distribution/settings.author/agents/publish-multiple.json

> Multiple endpoint delivery should be fault tolerant
> ---------------------------------------------------
>
>                 Key: SLING-4009
>                 URL: https://issues.apache.org/jira/browse/SLING-4009
>             Project: Sling
>          Issue Type: Bug
>          Components: Distribution
>            Reporter: Marius Petria
>             Fix For: Content Distribution 0.1.0
>
>
> Replication can deliver a package to multiple endpoints using a remoteimporter. We need a way to enable retries for a an endpoint for which delivery failed without delaying the delivery for the other endpoints.
> The obvious solution will be to have dedicated queues for each endpoint.
> The problems with that:
> 1. agent has no visibility over endpoints which are configured at importer level.
> 2. if packages can be added to multiple queues then we need a reference counting mechanism for packages.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)