Red Hat Bugzilla – Bug 601230
clustered qpid: durable exchange state not replicated to broker joining cluster
Last modified: 2010-10-07 21:50:23 EDT
+++ This bug was initially created as a clone of Bug #559014 +++
Description of problem:
If a durable exchange exists in a cluster, and a broker joins the cluster, the durable exchange is not listed for the new broker.
Version-Release number of selected component (if applicable):
Fails in latest 1.2 release as well as the latest upstream build (pre-1.3).
Steps to Reproduce:
1. Start a broker in a cluster at <address1>
2. Run 'qpid-config -a <address1> add exchange ExDurable direct --durable'
3. Run 'qpid-config -a <address1> add exchange Ex direct'
4. Run 'qpid-config -a <address1> exchanges' to see both newly created exchanges
5. Start another broker within the cluster at <address2>.
6. Run 'qpid-config -a <address2> exchanges'.
The output shows only exchange 'Ex' and not 'ExDurable'.
Both exchanges should be there.
Durable queues seem to work.
You get the same problem if you start both brokers initially, then create the durable exchange (it appears in both), then shut down one broker and bring it back up (the durable exchange disappears).
--- Additional comment from email@example.com on 2010-01-28 11:55:19 EST ---
Fixed in svn r.904154
QE: This is easily tested by the above example. In addition, the same test for brokers without the store loaded should work. (Since there is no recovery in this test, there should be no difference.)
--- Additional comment from firstname.lastname@example.org on 2010-06-01 11:08:26 EDT ---
on 752581 bug appears
on 946106 does not. It has been fixed
validated on RHEL 5.5 i386 / x86_64 not on RHEL4 because of no clustering
# rpm -qa | grep -E '(qpid|openais|rhm)' | sort -u
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
C: a durable exchange exists in a cluster, and a broker joins the cluster
C: the new broker does not see the exchange
F: when a new broker is added to the cluster, check for any durable exchanges that should be replicated on the new broker
R: the exchange now appears on the new broker
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.