Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-9390

DistributedSystem nodes is counted twice on each server member

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: membership
    • Labels:
      None

      Description

      Once in ClusterDistributionManager.startThreads:

      [warn 2021/06/20 16:20:16.152 HST server-1 <main> tid=0x1] ClusterDistributionManager.handleManagerStartup id=192.168.1.8(server-1:58386)<v1>:41001; kind=10
      
      [warn 2021/06/20 16:20:16.153 HST server-1 <main> tid=0x1] DistributionStats.incNodes nodes=1
      java.lang.Exception
      	at org.apache.geode.distributed.internal.DistributionStats.incNodes(DistributionStats.java:1362)
      	at org.apache.geode.distributed.internal.ClusterDistributionManager.handleManagerStartup(ClusterDistributionManager.java:1809)
      	at org.apache.geode.distributed.internal.ClusterDistributionManager.addNewMember(ClusterDistributionManager.java:1062)
      	at org.apache.geode.distributed.internal.ClusterDistributionManager.startThreads(ClusterDistributionManager.java:691)
      	at org.apache.geode.distributed.internal.ClusterDistributionManager.<init>(ClusterDistributionManager.java:504)
      	at org.apache.geode.distributed.internal.ClusterDistributionManager.create(ClusterDistributionManager.java:326)
      	at org.apache.geode.distributed.internal.InternalDistributedSystem.initialize(InternalDistributedSystem.java:780)
      

      And once in ClusterDistributionManager.create:

      [warn 2021/06/20 16:20:16.155 HST server-1 <main> tid=0x1] ClusterDistributionManager.handleManagerStartup id=192.168.1.8(server-1:58386)<v1>:41001; kind=10
      
      [warn 2021/06/20 16:20:16.156 HST server-1 <main> tid=0x1] DistributionStats.incNodes nodes=2
      java.lang.Exception
      	at org.apache.geode.distributed.internal.DistributionStats.incNodes(DistributionStats.java:1362)
      	at org.apache.geode.distributed.internal.ClusterDistributionManager.handleManagerStartup(ClusterDistributionManager.java:1809)
      	at org.apache.geode.distributed.internal.ClusterDistributionManager.addNewMember(ClusterDistributionManager.java:1062)
      	at org.apache.geode.distributed.internal.ClusterDistributionManager.create(ClusterDistributionManager.java:354)
      	at org.apache.geode.distributed.internal.InternalDistributedSystem.initialize(InternalDistributedSystem.java:780)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              boglesby Barrett Oglesby
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: