Qpid
  1. Qpid
  2. QPID-3329

Configure C++ client connections to replace url-addresses rather than merging new addresses with old

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11
    • Component/s: None
    • Labels:
      None

      Description

      Setting the "reconnect-urls" client option actually merges the new URLs with the old. This patch allows that to be configured:
      if "reconnect-urls-replace" is set to true then the old URLs are replaced instead. This us useful in long-running failover tests that generate an unlimited series of different broker addresses. The default is the old merge behaviour as this is safer for a fixed-size cluster: in the event of a partion you don't want the failover list to be replaced by a list containing only the losing brokers, that would leave the client stranded.

        Activity

        Hide
        Alan Conway added a comment -

        Reviewed https://reviews.apache.org/r/978/
        Comitted to trunk: r1141493

        Show
        Alan Conway added a comment - Reviewed https://reviews.apache.org/r/978/ Comitted to trunk: r1141493

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development