Alan Conway created QPID-4380:
---------------------------------
Summary: Channel collision on federated link after
creating/deleting ~64K bridges
Key: QPID-4380
URL: https://issues.apache.org/jira/browse/QPID-4380
Project: Qpid
Issue Type: Bug
Components: C++ Clustering
Affects Versions: 0.18
Reporter: Alan Conway
Assignee: Alan Conway
Description of problem:
Link does not properly track available channel numbers for the connection,
instead it uses a counter which wraps at 64K. Therefore, if you create and
delete enough bridges so that the counter wraps, you will encounter a channel
collision between two bridges.
Oct 19 17:35:31 system-node1a-cluster qpidd[22883]: 2012-10-19 17:35:31
[Protocol] error Channel exception: transport-busy: Channel 1 already attached
to
anonymous.qpid.bridge_session_qpid.broker-replicator.bridge.da11c440-d009-4f00-800b-27f04a820cee_eb35657f-6bc9-4f9d-b871-8ccfe640953f
(qpid/amqp_0_10/SessionHandler.cpp:159)
Oct 19 17:35:31 system-node1a-cluster qpidd[22883]: 2012-10-19 17:35:31
[Protocol] error Execution exception: invalid-argument: session.detach:
incorrect session name:
qpid.bridge_session_qpid.replicator-TDQ.l.RRAA.RRAA+2870.amqp1.a908ab6b-2465-4d7c-a4e8-954ccf94223d_9f539e38-b017-4131-82fb-4c135144378f,
expecting:
qpid.bridge_session_qpid.replicator-Bridge.b.RRAA.968e1e94-fe04-4488-a411-2ddd2e53cefc_9f539e38-b017-4131-82fb-4c135144378f
(qpid/amqp_0_10/SessionHandler.cpp:183)
Version-Release number of selected component (if applicable):
Qpid 0.18
How reproducible:
100%
Steps to Reproduce:
1. Create a federated link between two brokers
2. Create 1 bridge and then create/delete ~64K additional bridges
Actual results:
The channel counter in Link will eventually wrap and cause a collision with the
first bridge even though plenty of channels are available
Expected results:
New bridges will be assigned unique channel numbers
see https://bugzilla.redhat.com/show_bug.cgi?id=868403
--
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]