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

[Java Broker] Durable auto-delete queues leave behind orphaned bindings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-6.0
    • Broker-J
    • None

    Description

      On line 1240 of ServerSessionDelegate and line 112 of QueueDeclareHandler the following test is applied before deciding whether to store a queue definition to the durable config store:

      if (queue.isDurable() && !queue.isAutoDelete())
      

      However a binding is entered into the store based only on the durability of the queue and exchange. Thus a durable autodelete queue bound to a durable exchange will cause a binding record to be written to the store where there is no corresponding queue record.

      It is a little unclear to me what the correct semantics of durable auto-delete queues actually should be.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rgodfrey Robert Godfrey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: