[
https://issues.apache.org/jira/browse/DISPATCH-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Conway resolved DISPATCH-112.
----------------------------------
Resolution: Fixed
------------------------------------------------------------------------
r1659335 | aconway | 2015-02-12 12:38:26 -0500 (Thu, 12 Feb 2015) | 6 lines
DISPATCH-112: Router fails with duplicate link ID errors.
Reverted a bad change in r1658584. It used link name as the router.link
management entity identity.
The link name is not unique unless combined with the remote container name,
which is a UUID
so that is not a very friendly way to name links. Returned to simple numbering.
------------------------------------------------------------------------
> Router fails with duplicate link ID errors.
> -------------------------------------------
>
> Key: DISPATCH-112
> URL: https://issues.apache.org/jira/browse/DISPATCH-112
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Management Agent
> Affects Versions: 0.3
> Reporter: Alan Conway
> Assignee: Alan Conway
> Fix For: 0.4
>
>
> Regression introduced in r1658584. Attempted to give links more "friendly"
> management IDs but the IDs "link/<linkname>" are not unique. To be unique
> they should also include the remote container name, which would make them
> less friendly. Revert to using unique numbers for link IDs.
> Problem description from email:
> I found the commit where the bad results start happening. All subsequent
> commits exhibit the same problem.
> It is r1658584 | aconway | 2015-02-09 16:57:32 -0500 (Mon, 09 Feb 2015) | 7
> lines
> NO-JIRA: Minor fixes to management code.
> - Get rid of defunct router_node refresh C code.
> - Use linkName for router.link identity.
> - Drop router.node addr attribute (replaced by address)
> - Rename refresh as refresh_entity to avoid confusion with neighbor_refresh
> etc.
> - Fix error-handling bug in agent.py
> ------------------------------------------------------------------------
> When I start a 6 node network, and then run qdstat on one of the nodes, I'm
> getting an error and subsequent runs of qdstat return incomplete data.
> r1658584
> qdstat -r QDR.C -c
> BadRequestStatus: org.apache.qpid.dispatch.router.link: Duplicate value
> 'router.link/qd.internode.1' for unique attribute 'name'
> [eallen@mrg30 config_6]$ qdstat -r QDR.C -c
> Connections
> state host container sasl-mechanisms role dir
>
> =============================================================================
> operational localhost:43277 QDR.A ANONYMOUS inter-router in
> operational localhost:43280 QDR.B ANONYMOUS inter-router in
> When I revert to the previous checkin, I'm not seeing the problem.
> r1658572
> qdstat -r QDR.C -c
> Connections
> state host container sasl-mechanisms role dir
>
> =============================================================================
> operational localhost:43318 QDR.A ANONYMOUS inter-router in
> operational localhost:43322 QDR.B ANONYMOUS inter-router in
> operational localhost:43324 QDR.Y ANONYMOUS inter-router in
> operational 0.0.0.0:20004 QDR.D ANONYMOUS inter-router out
> The conf files for the 6 node network are attached.
> -Ernie
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]