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

Priority queue does not keep an accurate count of available messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.18
    • 0.20
    • C++ Broker
    • None

    Description

      While investigating QPID-4262, discovered via code review that the PriorityQueue does not properly update its backing "fifo" MessageDeque's available count when PriorityQueue::removeIf is invoked.

      This might prevent the deletion of a queue and might result in queue listeners being woken up unnecessarily.

      Attachments

        Activity

          People

            aconway Alan Conway
            dillaman Jason Dillaman
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: