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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17173470#comment-17173470 ] 

ASF subversion and git services commented on DISPATCH-1724:
-----------------------------------------------------------

Commit 6f3b410c8ff943866b8f36097ff02cc49fb1231d in qpid-dispatch's branch refs/heads/master from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=6f3b410 ]

DISPATCH-1724: Set up fallback relationships for outbound autolinks

Inbound links with fallback capability work fine but conditional clause
prevented autolink fallback setup.

Self test for this fix coming under a different jira.


> 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