Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-253

Cluster is not formed using replication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.1.0
    • None
    • Broker
    • None

    Description

      We have an intermittent failure when using a cluster
      of 2 replicated nodes (both are live nodes).

      In the logs, I have:

      18:28:39,833 INFO  [org.apache.activemq.artemis.core.server]
      (ServerService Thread Pool -- 70) AMQ221007: Server is now live
      18:28:39,834 INFO  [org.apache.activemq.artemis.core.server]
      (ServerService Thread Pool -- 70) AMQ221001: Apache ActiveMQ Artemis
      Message Broker version 1.1.0-wildfly-6
      [nodeID=f94b61cc-6146-11e5-937b-a3e9631a50ac]
      ...
      18:28:45,794 INFO  [org.apache.activemq.artemis.core.server]
      (ServerService Thread Pool -- 71) AMQ221007: Server is now live
      18:28:45,794 INFO  [org.apache.activemq.artemis.core.server]
      (ServerService Thread Pool -- 71) AMQ221001: Apache ActiveMQ Artemis
      Message Broker version 1.1.0-wildfly-6
      [nodeID=fe8b1275-6146-11e5-b3c8-596354b7fc76]
      ...
      18:28:46,367 INFO  [org.apache.activemq.artemis.core.server] (Thread-4
      (ActiveMQ-server-ActiveMQServerImpl::serverUUID=fe8b1275-6146-11e5-b3c8-596354b7fc76-7203298))
      AMQ221027: Bridge ClusterConnectionBridge@7edf20
      [name=sf.my-cluster.f94b61cc-6146-11e5-937b-a3e9631a50ac,
      queue=QueueImpl[name=sf.my-cluster.f94b61cc-6146-11e5-937b-a3e9631a50ac,
      postOffice=PostOfficeImpl
      [server=ActiveMQServerImpl::serverUUID=fe8b1275-6146-11e5-b3c8-596354b7fc76]]@1a3e7c0
      targetConnector=ServerLocatorImpl
      (identity=(Cluster-connection-bridge::ClusterConnectionBridge@7edf20
      [name=sf.my-cluster.f94b61cc-6146-11e5-937b-a3e9631a50ac,
      queue=QueueImpl[name=sf.my-cluster.f94b61cc-6146-11e5-937b-a3e9631a50ac,
      postOffice=PostOfficeImpl
      [server=ActiveMQServerImpl::serverUUID=fe8b1275-6146-11e5-b3c8-596354b7fc76]]@1a3e7c0
      targetConnector=ServerLocatorImpl
      [initialConnectors=[TransportConfiguration(name=http-connector,
      factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory)
      ?httpUpgradeEnabled=true&port=8080&host=localhost&http-upgrade-endpoint=http-acceptor],
      discoveryGroupConfiguration=null]]::ClusterConnectionImpl@17494988[nodeUUID=fe8b1275-6146-11e5-b3c8-596354b7fc76,
      connector=TransportConfiguration(name=http-connector,
      factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory)
      ?host=localhost&http-upgrade-endpoint=http-acceptor&httpUpgradeEnabled=true&port=8180,
      address=jms, server=ActiveMQServerImpl::serverUUID=fe8b1275-6146-11e5-b3c8-596354b7fc76]))
      [initialConnectors=[TransportConfiguration(name=http-connector,
      factory=org-apache-activemq-artemis-core-remoting-impl-netty-NettyConnectorFactory)
      ?httpUpgradeEnabled=true&port=8080&host=localhost&http-upgrade-endpoint=http-acceptor],
      discoveryGroupConfiguration=null]] is connected
      

      This AMQ221027 is a bit hard to read but it basically says that I have
      a connection from server f94b61cc to server fe8b1275...
      However I don't have a corresponding log to show that the bridge is
      also connected from server fe8b1275to server f94b61cc

      When the test passes, I do have a 2nd AMQ221027 in the opposite direction.

      How can I check that a cluster is properly formed? And why is it not always the case?

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmesnil Jeff Mesnil
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: