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

        Hide
        Alan Conway added a comment -

        Test case to illustrate the problem

        Show
        Alan Conway added a comment - Test case to illustrate the problem
        Hide
        Gordon Sim added a comment -

        Fixed as part of QPID-4178

        Show
        Gordon Sim added a comment - Fixed as part of QPID-4178

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development