Qpid
  1. Qpid
  2. QPID-3866

Priority ring queue lets lower-priority message displace higher-priority

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.14
    • Fix Version/s: 0.19
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      Currently a ring+priority queue works by removing the lowest priority message
      if the limit is reached. However it does not consider whether the new message
      is actually of lower priority than the one being displaced. A lower priority
      message should not displace a higher-priority message.

      1. priority-ring.py
        0.6 kB
        Alan Conway

        Activity

        Alan Conway created issue -
        Hide
        Alan Conway added a comment -

        Test case to illustrate the problem

        Show
        Alan Conway added a comment - Test case to illustrate the problem
        Alan Conway made changes -
        Field Original Value New Value
        Attachment priority-ring.py [ 12515602 ]
        Gordon Sim made changes -
        Assignee Gordon Sim [ gsim ]
        Hide
        Gordon Sim added a comment -

        Fixed as part of QPID-4178

        Show
        Gordon Sim added a comment - Fixed as part of QPID-4178
        Gordon Sim made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.19 [ 12322452 ]
        Resolution Fixed [ 1 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development