ActiveMQ
  1. ActiveMQ
  2. AMQ-3542

Using failover: with static discovery in a network connector to choose from a master/slave tuple leads to hangs and invalid states

    Details

      Description

      static discovery will try to connect to all provided urls. When the list is a master/slave pair with shared storage, only one will active, leading log messages indicating repeated failure to connect.
      A potential solution is to use failover: just to pick a url but let it delegate failover to the network connector such that the network bridge is correctly stopped/restarted.
      static:(failover:(tcp://a:61616,tcp://slave:61616)?maxReconnectAttempts=..)
      This does not work reliably atm, due to inconsistency in the failover reconnect logic, a network connectors interest in transport interruption/resumption and the lack of thread safety in tracking existing bridges.

        Issue Links

          Activity

          Gary Tully created issue -
          Gary Tully made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Gary Tully made changes -
          Link This issue relates to AMQ-3575 [ AMQ-3575 ]

            People

            • Assignee:
              Gary Tully
              Reporter:
              Gary Tully
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development