Bug 860704
Summary: | HA backups continuously disconnect / re-sync after attempting to replicate a deleted queue | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Jason Dillaman <jdillama> | ||||
Component: | qpid-cpp | Assignee: | Alan Conway <aconway> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | MRG Quality Engineering <mrgqe-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | Development | CC: | aconway, esammons, iboverma, jross, lzhaldyb, mcressma | ||||
Target Milestone: | 2.3 | Keywords: | OtherQA | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | qpid-cpp-0.18-2 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-03-19 16:38:02 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 | ||||||
Attachments: |
|
Description
Jason Dillaman
2012-09-26 14:12:40 UTC
Created attachment 617569 [details]
Quick patch to work-around the discovered issues
Taken from trunk r1393089 Bug-860704 - QPID-4285: HA backups continuously disconnect / re-sync after attempting to replicate a deleted queue. (Based on patch Jason Dillama) This does not directly tackle the origin of the problem but extends Jasons's patch since it addresses something we had to fix anyway: "leaking" queues and exchanges. It does 2 things. 1. enabled hideDeletedError on all subscription objects used by HA This suppress the troublesome exception with a harmless no-op 2. Delete queues/exchanges missing from responses (based on Jasons patch) Fix the "leak" of queues and exchanges possible when an object replicated to a backup is deleted from the newn primary before the backup connects. Committed to release repo http://mrg1.lab.bos.redhat.com/cgit/qpid.git/commit/?h=0.18-mrg&id=017c5e13f9bdaf6e516f7b1cd86624ec51c438b0 and on trunk: ------------------------------------------------------------------------ r1393201 | aconway | 2012-10-02 17:46:50 -0400 (Tue, 02 Oct 2012) | 9 lines QPID-4285: HA backups continuously disconnect / re-sync after attempting to replicate a deleted queue Fixes queues getting into a partially deleted state: previously when a broker was promoted, it did not clean up it's QueueReplicators. The QueueReplicators keep a shared_ptr to the Queue so this kept Queues in memory after they were destroyed. It also kept them in QMF, since the management object is unregistered in the destructor. This patch cleans up properly on promotion. ------------------------------------------------------------------------ *** Bug 860412 has been marked as a duplicate of this bug. *** |