You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Charles E. Rolke (Jira)" <ji...@apache.org> on 2020/08/07 21:14:00 UTC

[jira] [Resolved] (DISPATCH-1724) Fallback destination fails when primary consumer is on an auto-link

     [ https://issues.apache.org/jira/browse/DISPATCH-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles E. Rolke resolved DISPATCH-1724.
----------------------------------------
    Resolution: Fixed

Fixed at commit 6f3b41

> Fallback destination fails when primary consumer is on an auto-link
> -------------------------------------------------------------------
>
>                 Key: DISPATCH-1724
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1724
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Router Node
>    Affects Versions: 1.12.0
>            Reporter: Ted Ross
>            Priority: Major
>             Fix For: 1.13.0
>
>         Attachments: DISPATCH-1724-problem.svg
>
>
> Fallback destination is failing for a scenario where it should be working.  In the use case of interest, two message brokers are connected to a single router.  One broker is designated primary and the other secondary.  Both brokers have an instance of the same queue.
> The auto-link for enqueue to the primary broker is normal (on phase 0), the auto-link for enqueue to the secondary broker is designated as the fallback.
> In this case, if the primary broker is never connected but the secondary broker is, a sender for the address in question is never given credit to send.
> Test configuration:
> {code:java}
> address {
>     pattern: FOO
>     enableFallback: yes
> }
> connector {
>     host: 127.0.0.1
>     port: 10000
>     role: route-container
>     name: primary
> }
> connector {
>     host: 127.0.0.1
>     port: 10001
>     role: route-container
>     name: secondary
> }
> autoLink {
>     connection: primary
>     dir: out
>     addr: FOO
> }
> autoLink {
>     connection: secondary
>     dir: out
>     addr: FOO
>     fallback: yes
> }
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org