Alan Conway created QPID-4509:
---------------------------------
Summary: HA backup broker does not properly increment the
alternate exchange user count
Key: QPID-4509
URL: https://issues.apache.org/jira/browse/QPID-4509
Project: Qpid
Issue Type: Bug
Components: C++ Clustering
Affects Versions: 0.20
Reporter: Alan Conway
Assignee: Alan Conway
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]