Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-6979

Unrelated cluster nodes should not log a stacktrace

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 3.9.1
    • Enterprise
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      I get this in my logs pretty much every time I start Stash from the Atlassian Plugin SDK

      [INFO] [talledLocalContainer] 2015-01-15 10:26:13,280 WARN  [hz.hazelcast.IO.thread-Acceptor]  com.hazelcast.nio.tcp.SocketAcceptor [172.22.2.17]:5701 [bamboo-agent] [3.3.1-atlassian-10] com.atlassian.stash.internal.cluster.NodeConnectionException: Node is part of an unrelated cluster
      [INFO] [talledLocalContainer] com.atlassian.stash.internal.cluster.NodeConnectionException: Node is part of an unrelated cluster
      [INFO] [talledLocalContainer] 	at com.atlassian.stash.internal.cluster.DefaultClusterJoinManager.negotiateOutcome(DefaultClusterJoinManager.java:221) ~[stash-service-impl-3.6.0.jar:na]
      [INFO] [talledLocalContainer] 	at com.atlassian.stash.internal.cluster.DefaultClusterJoinManager.accept(DefaultClusterJoinManager.java:99) ~[stash-service-impl-3.6.0.jar:na]
      [INFO] [talledLocalContainer] 	at com.atlassian.stash.internal.hazelcast.ClusterJoinSocketInterceptor.onAccept(ClusterJoinSocketInterceptor.java:44) ~[stash-service-impl-3.6.0.jar:na]
      [INFO] [talledLocalContainer] 	at com.hazelcast.nio.tcp.TcpIpConnectionManager.interceptSocket(TcpIpConnectionManager.java:153) ~[hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10]
      [INFO] [talledLocalContainer] 	at com.hazelcast.nio.tcp.SocketAcceptor.configureAndAssignSocket(SocketAcceptor.java:142) [hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10]
      [INFO] [talledLocalContainer] 	at com.hazelcast.nio.tcp.SocketAcceptor.acceptSocket(SocketAcceptor.java:128) [hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10]
      [INFO] [talledLocalContainer] 	at com.hazelcast.nio.tcp.SocketAcceptor.run(SocketAcceptor.java:70) [hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10]
      [INFO] [talledLocalContainer] 	at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]
      [INFO] [talledLocalContainer] 	... 21 frames trimmed
      

      My guess is that Stash is trying to connect to some random node on the network.

      Regardless of why it is happening, the stacktrace does not add any value to the log warning. It should be removed and potentially reduced to INFO level

      Attachments

        Issue Links

          Activity

            People

              cszmajda Cristan Szmajda (Inactive)
              jhinch jhinch (Atlassian)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: