Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1724

Fallback destination fails when primary consumer is on an auto-link

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.13.0
    • Router Node
    • None

    Description

      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:

      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
      }
      

      Attachments

        1. DISPATCH-1724-problem.svg
          25 kB
          Charles E. Rolke

        Activity

          People

            chug Charles E. Rolke
            tross Ted Ross
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: