Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4509

HA backup broker does not properly increment the alternate exchange user count

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.20
    • None
    • C++ Clustering
    • None

    Description

      Description of problem:
      When an exchange or queue that utilizes an alternate exchange is replicated to a backup broker, the backup broker does not increment the user count on the alternate exchange. This will incorrectly allow an alternate exchange to be deleted when it is still in use and will incorrectly prevent a exchange from being deleted when it is no longer an alternate exchange.

      Version-Release number of selected component (if applicable):
      Qpid 0.18

      How reproducible:
      100%

      Steps to Reproduce:
      1. Start primary and backup HA brokers
      2. Create an exchange to use as the alternate
      3. Create a queue or exchange w/ the alternate set to the previously create exchange
      4. Fail the primary and promote the backup
      5. Delete the alternate exchange

      Actual results:
      The alternate exchange is deleted while still in use

      Expected results:
      The client should receive a not-allowed exception

      See also: https://bugzilla.redhat.com/show_bug.cgi?id=886656

      Attachments

        Activity

          People

            aconway Alan Conway
            aconway Alan Conway
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: