GitHub user gaohoward opened a pull request: https://github.com/apache/activemq-artemis/pull/1999
ARTEMIS-1790 Improve Topology Member Finding When finding out if a connector belong to a target node it compares the whole parameter map which is not necessary. Also in understanding the connector the best place is to delegate it to the corresponding remoting connection who understands it. (e.g. INVMConnection knows whether the connector belongs to a target node by checking it's serverID only. The netty ones only need to match host and port, and understanding that localhost and 127.0.0.1 are same thing). You can merge this pull request into a Git repository by running: $ git pull https://github.com/gaohoward/activemq-artemis h_a1790 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/activemq-artemis/pull/1999.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1999 ---- commit f68d994f3124f5b533df53d70aa7495a83085b41 Author: Howard Gao <howard.gao@...> Date: 2018-03-27T04:38:08Z ARTEMIS-1790 Improve Topology Member Finding When finding out if a connector belong to a target node it compares the whole parameter map which is not necessary. Also in understanding the connector the best place is to delegate it to the corresponding remoting connection who understands it. (e.g. INVMConnection knows whether the connector belongs to a target node by checking it's serverID only. The netty ones only need to match host and port, and understanding that localhost and 127.0.0.1 are same thing). ---- ---