You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (Created) (JIRA)" <ji...@apache.org> on 2012/02/22 16:33:48 UTC

[jira] [Created] (QPID-3866) Priority ring queue lets lower-priority message displace higher-priority

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

                 Key: QPID-3866
                 URL: https://issues.apache.org/jira/browse/QPID-3866
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
    Affects Versions: 0.14
            Reporter: Alan Conway
         Attachments: priority-ring.py

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.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] [Assigned] (QPID-3866) Priority ring queue lets lower-priority message displace higher-priority

Posted by "Gordon Sim (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim reassigned QPID-3866:
--------------------------------

    Assignee: Gordon Sim
    
> Priority ring queue lets lower-priority message displace higher-priority
> ------------------------------------------------------------------------
>
>                 Key: QPID-3866
>                 URL: https://issues.apache.org/jira/browse/QPID-3866
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.14
>            Reporter: Alan Conway
>            Assignee: Gordon Sim
>         Attachments: priority-ring.py
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] [Resolved] (QPID-3866) Priority ring queue lets lower-priority message displace higher-priority

Posted by "Gordon Sim (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gordon Sim resolved QPID-3866.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.19

Fixed as part of QPID-4178
                
> Priority ring queue lets lower-priority message displace higher-priority
> ------------------------------------------------------------------------
>
>                 Key: QPID-3866
>                 URL: https://issues.apache.org/jira/browse/QPID-3866
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.14
>            Reporter: Alan Conway
>            Assignee: Gordon Sim
>             Fix For: 0.19
>
>         Attachments: priority-ring.py
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


[jira] [Updated] (QPID-3866) Priority ring queue lets lower-priority message displace higher-priority

Posted by "Alan Conway (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Conway updated QPID-3866:
------------------------------

    Attachment: priority-ring.py

Test case to illustrate the problem
                
> Priority ring queue lets lower-priority message displace higher-priority
> ------------------------------------------------------------------------
>
>                 Key: QPID-3866
>                 URL: https://issues.apache.org/jira/browse/QPID-3866
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: 0.14
>            Reporter: Alan Conway
>         Attachments: priority-ring.py
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org