Qpid
  1. Qpid
  2. QPID-4787

HA brokers find self-address in brokers_url.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22
    • Fix Version/s: 0.23
    • Component/s: None
    • Labels:
      None

      Description

      HA brokers need to know their own addresses, but it is not safe to simply use
      local hosts name and Broker::getPort() since the broker may be listening on
      multiple addresses. The solution is to have brokers check the ha-rokers-url for their own address while doing the initial status check of the cluster.

        Activity

        Hide
        Alan Conway added a comment - - edited

        Fixed on trunk

        ------------------------------------------------------------------------
        r1477165 | aconway | 2013-04-29 11:57:59 -0400 (Mon, 29 Apr 2013) | 7 lines

        QPID-4787: HA brokers find self-address in brokers_url.

        HA brokers need to know their own addresses, but it is not safe to simply use
        local hosts name and Broker::getPort() since the broker may be listening on
        multiple addresses. The solution is to have brokers check the ha-rokers-url for
        their own address while doing the initial status check of the cluster.

        ------------------------------------------------------------------------

        Show
        Alan Conway added a comment - - edited Fixed on trunk ------------------------------------------------------------------------ r1477165 | aconway | 2013-04-29 11:57:59 -0400 (Mon, 29 Apr 2013) | 7 lines QPID-4787 : HA brokers find self-address in brokers_url. HA brokers need to know their own addresses, but it is not safe to simply use local hosts name and Broker::getPort() since the broker may be listening on multiple addresses. The solution is to have brokers check the ha-rokers-url for their own address while doing the initial status check of the cluster. ------------------------------------------------------------------------
        Hide
        Justin Ross added a comment -
        Show
        Justin Ross added a comment - Released in Qpid 0.24, http://qpid.apache.org/releases/qpid-0.24/index.html

          People

          • Assignee:
            Alan Conway
            Reporter:
            Alan Conway
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development