[
https://issues.apache.org/jira/browse/ARTEMIS-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17684284#comment-17684284
]
Erwin Dondorp commented on ARTEMIS-3157:
----------------------------------------
> Can you reproduce this on a simpler configuration (e.g. 2 live brokers, no
> backups)?
and then I responded with an even more complicated example... :-( sorry!
but I'm still looking to have the list of connections that we see explained.
the setup is now a cluster with just 2 nodes, each having a static connector to
the other node.
there are no regular clients involved.
in this case, both nodes show roughly the same list of connections. see the
pictures below.
there is 1 cluster connection that I understand, it has the expected username
and it has a non-zero session count.
but the other 2 connections are a puzzle to me.
so the questions are: should these 2 connections be present, and if so, what
are they for?
{panel:title=connections in cluster node 1}
!screenshot-2.png!
{panel}
{panel:title=connections in cluster node 2}
!screenshot-3.png!
{panel}
> uneven number of connections in a cluster
> -----------------------------------------
>
> Key: ARTEMIS-3157
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3157
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.17.0
> Reporter: Erwin Dondorp
> Priority: Major
> Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png
>
>
> Using a cluster of 3 master + 3 slave nodes. full interconnect, each with a
> fresh virtual disk. no other constructions
> (bridges/federation/brokerconn/etc) and also no clients.
> On each master nodes, the 2 static connections to the other master nodes are
> visible, and each is marked with the dedicated cluster username. so that part
> seems ok.
> but without any clients having connected, there are additional connections.
> the amount is not the same in each master node. Some connections show
> "127.0.0.1" as address, something that is not in my configuration. none of
> the extra connections have any sessions. Also the connections do not have any
> sessions.
> the details of an example:
> * broker1: 3 connections to own slave; 2 extra to/from broker2; 1 extra
> to/from backup of broker3
> * broker2: 3 connections to own slave; 2 extra to/from broker1; 2 extra
> to/from broker3; 1 extra to/from slave of broker3
> * broker3: 1 connection to own slave; no other extra connections
> the exact amount of connections varies a little between startups and also
> seems to depend on the exact startup sequence.
> my assumption is that these connections should not be present, and that this
> is not intended, hence this report. my wild guess is that these are remnants
> from connections that did not succeed due to the other cluster-members not
> fully available yet.
> When the cluster is started one node at a time, the effect seems to exists
> only on the first node that was started.
> Note: not related to ARTEMIS-2870 as this report is still valid in
> 2.18.0-20210322.234647-43.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)