Description of problem: When an exchange or queue that utilizes an alternate exchange is replicated to a backup broker, the backup broker does not increment the user count on the alternate exchange. This will incorrectly allow an alternate exchange to be deleted when it is still in use and will incorrectly prevent a exchange from being deleted when it is no longer an alternate exchange. Version-Release number of selected component (if applicable): Qpid 0.18 How reproducible: 100% Steps to Reproduce: 1. Start primary and backup HA brokers 2. Create an exchange to use as the alternate 3. Create a queue or exchange w/ the alternate set to the previously create exchange 4. Fail the primary and promote the backup 5. Delete the alternate exchange Actual results: The alternate exchange is deleted while still in use Expected results: The client should receive a not-allowed exception Additional info:
Created attachment 662585 [details] Patch to add a unit test reproducer
Fixed on branch 0.18-mrg-aconway-bz886656 http://mrg1.lab.bos.redhat.com/cgit/qpid.git/commit/?h=0.18-mrg-aconway-bz886656&id=bf942aff066d70522cef371140e5ea3b3db8465a
Seeing some problems that may be due to this fix in testing. Marking this bug ASSIGNED again.
Fixed on branch 0.18-mrg-aconway-bz886656-2 http://mrg1.lab.bos.redhat.com/cgit/qpid.git/commit/?h=0.18-mrg-aconway-bz886656-2&id=076a89ed158965478c9bd82c0213483dfc601194