qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesh Murthy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DISPATCH-1172) Link routes and auto links activated on wrong connections if many route-container conns exist
Date Mon, 05 Nov 2018 22:14:00 GMT

     [ https://issues.apache.org/jira/browse/DISPATCH-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ganesh Murthy updated DISPATCH-1172:
------------------------------------
    Description: 
Run the following script

 
{noformat}
#!/usr/bin/env bash

qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.address prefix=dest
waypoint=true
qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.address prefix=sub
waypoint=true

for i in {1..10}; do
    qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.connector host=0.0.0.0
port=5672 name=broker_conn${i} role=route-container
done

for i in {1..10}; do
    qdmanage  -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.autoLink
addr=dest direction=out name=auto-link-dest${i} connection=broker_conn${i}
done

for i in {1..10}; do
    qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.autoLink
addr=sub direction=in name=auto-link-sub${i} connection=broker_conn${i}
done{noformat}
 

all auto links will be activated against all connections. This happens also with link routes.

 

This problem happens due to the way the connections are aggregated under a single container
id. The connections should also get their own connection ids.

  was:
Run the following script

 
{noformat}
#!/usr/bin/env bash

qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.address prefix=dest
waypoint=true
qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.address prefix=sub
waypoint=true

for i in {1..10}; do
    qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.connector host=0.0.0.0
port=5672 name=broker_conn${i} role=route-container
done

for i in {1..10}; do
    qdmanage  -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.autoLink
addr=dest direction=out name=auto-link-dest${i} connection=broker_conn${i}
done

for i in {1..10}; do
    qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.autoLink
addr=sub direction=in name=auto-link-sub${i} connection=broker_conn${i}
done{noformat}
 

all auto links will activated against all connections. This happens also with link routes.

 

This problem happens due to the way the connections are gathered under a single container
id. The connections should also get their own connection ids.


> Link routes and auto links activated on wrong connections if many route-container conns
exist
> ---------------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-1172
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1172
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 1.4.1
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>             Fix For: 1.5.0
>
>
> Run the following script
>  
> {noformat}
> #!/usr/bin/env bash
> qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.address
prefix=dest waypoint=true
> qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.address
prefix=sub waypoint=true
> for i in {1..10}; do
>     qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.connector host=0.0.0.0
port=5672 name=broker_conn${i} role=route-container
> done
> for i in {1..10}; do
>     qdmanage  -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.autoLink
addr=dest direction=out name=auto-link-dest${i} connection=broker_conn${i}
> done
> for i in {1..10}; do
>     qdmanage -b 0.0.0.0:5673 create --type org.apache.qpid.dispatch.router.config.autoLink
addr=sub direction=in name=auto-link-sub${i} connection=broker_conn${i}
> done{noformat}
>  
> all auto links will be activated against all connections. This happens also with link
routes.
>  
> This problem happens due to the way the connections are aggregated under a single container
id. The connections should also get their own connection ids.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message