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

edge router fallback links and addresses incorrect on interior failover

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.17.0
    • Backlog
    • Router Node
    • None

    Description

      Scenario:

      Configure an edge router with two separate interior connectors - one for router A and a standby for router B.

      Configure a route-container listener for a broker on the edge router.  Assign two fallback destination autolinks (1 in, 1 out) to the route container for address "foo".

      Start just the edge router:

      • no links are active (expected).
      • mgmt query for addresses show two "foo" addresses present:
        • MFfoo - the fallback address (no subscribers)
        • M0foo - the primary address (no subscribers)

      Now startup the broker and after the connection to the broker:

      • On the edge router:
        • links:
          • id 5, out link to broker, owning address MFfoo
          • id 6, in link from broker, owning address M0foo
        • addresses:
          • MFfoo - one local subscriber
          • M0foo - no subscribers

      Now start router A.  Router A has been configured with an edge listener connection.  There is no inter-router connection configured for router B!  Once the connection is established:

      • On the edge router:
        • links:
          • the two broker links (see above)
          • id 10, in link from router A, owning address MFfoo
          • id 11, out link to router A for M0foo
        • addresses:
          • MFfoo - one local subscriber
          • M0foo - no subscribers
      • On Router A:
        • links:
          • id 6, out link to edge, owning address MFfoo
          • id 7, in link from edge, owning address M0foo
        • addresses:
          • MFfoo - one local subscriber
          • M0foo - no subscribers

      Now start router B, wait for the edge to establish a connection to it.  Since B is a standby interior for the edge there are no 'foo' related links or addresses on B as expected.  Remember router A and B are not directly connected.

       

      Fail router A.  Wait for the edge to re-establish its proxy links to router B.  The following links/addresses related to foo are now:

      • On the edge router:
        • links:
          • the two broker links
          • id 20, in link from router B, owning address MFfoo
        • addresses:
          • MFfoo - one local subscriber
          • M0foo - no subscribers
      • On Router B:
        • links:
          • id 6, out link to edge, owning address MFfoo
        • addresses:
          • MFfoo - one local subscriber

      From the above we can see that after the failover to router B the edge router does not re-establish an outgoing link (subscription) for M0foo as it did when connected to router A.

       

      Attachments

        Issue Links

          Activity

            People

              kgiusti Ken Giusti
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: