Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8372

Cluster metrics are reported incorrectly on joining node with ZK-based discovery

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: zookeeper
    • Labels:
      None

      Description

      When new node joins with ZK discovery it sometimes reports negative number of CPUs and incorrect heap size.
      Message in log looks like this:

      [myid:] - INFO  [disco-event-worker-#61:Log4JLogger@495] - Topology snapshot [ver=100, servers=100, clients=0, CPUs=-6, heap=0.5GB]
      

      There is a race though between this report and ClusterMetricsUpdateMessage: if the node receives and process this message first which happens in a separate thread correct values are printed to log.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sergey-chugunov Sergey Chugunov
                Reporter:
                sergey-chugunov Sergey Chugunov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: