| Summary: | unable to reroute priority queues (intermittent) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | matthew.king | ||||
| Component: | qpid-cpp | Assignee: | Gordon Sim <gsim> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | MRG Quality Engineering <mrgqe-bugs> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | Development | CC: | christopher.pitman, gsim, jross | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 0.10 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-02-24 21:53:33 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
These tests are against the following rpms: qpid-tools-0.7.946106-11.el5 qpid-cpp-client-devel-0.7.946106-24_ptc_hotfix_2.el5 qpid-cpp-mrg-debuginfo-0.7.946106-24_ptc_hotfix_2.el5 qpid-cpp-server-cluster-0.7.946106-24_ptc_hotfix_2.el5 qpid-cpp-server-store-0.7.946106-24_ptc_hotfix_2.el5 qpid-cpp-server-rdma-0.7.946106-24_ptc_hotfix_2.el5 qpid-cpp-server-devel-0.7.946106-24_ptc_hotfix_2.el5 qpid-cpp-client-ssl-0.7.946106-24_ptc_hotfix_2.el5 python-qpid-0.7.946106-14.el5 qpid-cpp-client-0.7.946106-24_ptc_hotfix_2.el5 qpid-cpp-server-ssl-0.7.946106-24_ptc_hotfix_2.el5 qpid-cpp-client-devel-docs-0.7.946106-24_ptc_hotfix_2.el5 qpid-cpp-client-rdma-0.7.946106-24_ptc_hotfix_2.el5 qpid-cpp-server-0.7.946106-24_ptc_hotfix_2.el5 Additionally, if we send messages of only priority 0 the test works. It is only when the messages are of different priorities that no messages are routed. The path for reroute does not take priority into account and currently only sees priority 0 messages. Comment above is inaccurate, the codepath does in part take account of priority and does see priorities other than priority 0. However it will only work while there are 0 priority messages available. Fix available in https://brewweb.devel.redhat.com/buildinfo?buildID=157935 |
Created attachment 475952 [details] Code to reproduce the problem Description of problem: I am unable to reroute a priority queue. Version-Release number of selected component (if applicable): qpid-cpp-client-0.7.946106-24_ptc_hotfix_2.el5 How reproducible: Code attached: make; ./restart; ./pri until the method request succeeds (there is a delay in the queue appearance); qpid-tool Steps to Reproduce: 1. Create priority queue with 10 priority levels. 2. Send 10 messages of priority 1. 3. Send qmf2 method request for "reroute" to a specific exchange. 4. Use qpid-tool to watch msgDepth (or: watch the exchange's msgReceives). Actual results: msgDepth remains 10. Expected results: msgDepth is 0 and msgReceives is 10.