Bug 888435
| Summary: | HA backup broker shuts down after redeclaring exchange | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Jason Dillaman <jdillama> | ||||||
| Component: | qpid-cpp | Assignee: | Alan Conway <aconway> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | mick <mgoulish> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | Development | CC: | esammons, freznice, iboverma, jross, mgoulish, mtoth | ||||||
| Target Milestone: | 3.0 | Keywords: | OtherQA | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | qpid-cpp-0.22 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 955752 (view as bug list) | Environment: | |||||||
| Last Closed: | 2015-01-21 12:56:08 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 698367, 955752 | ||||||||
| Attachments: |
|
||||||||
|
Description
Jason Dillaman
2012-12-18 17:22:31 UTC
Created attachment 665644 [details]
Patch to add a unit test reproducer
The reproducer passes on the current 0.18-mrg branch, commit 72bda26. Is this bug still an issue? It might be a week or two before I get a chance to test this. Looking at ExchangeRegistry, it seems like the issue is still present since it will throw an exchange declared event even when an exchange was not declared. It also looks like BrokerRegistry will delete any existing exchange when it receives the duplicitous exchange declare event. Maybe the reproducer no longer works after bz886656 was fixed. I think you might need to remove line 864 from the patch -- which was added as a workaround for the alt-exchange counting bug. After removing line 864 I do indeed see the failure. I'll look into it. Created attachment 827435 [details]
standalone reproducer
VERIFIED Can't get unit test to work on installed packages. I used a C program to redeclare same queue multiple times to HA 3-cluster, then make a bunch of queues and bind them to it, then use qpid-tool to list exchanges and see that nothing weird happened. ( And verify that all 3 brokers are still running cheerfully. ) see my attachment -- it has C program, HA cluster start script, and README. |