Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32369

Fix scale metric when the number of nodes is already optimal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.9, 2021.51
    • Component/s: Streams

      Description

      The aggregated best number of nodes and the scale metric are wrong when the current nodes is already optimal and there is only one active computation.

      In the following output we should have bestNodes: 4 and metric: 0

        "scale": {
          "currentNodes": 4,
          "bestNodes": 1,
          "metric": -3
        },
      ...
            "current": {
              "nodes": 4,
              "threads": 8,
              "rate1m": 0.28108606,
              "eta": 536728
            },
            "best": {
              "nodes": 4,
              "threads": 8,
              "rate1m": 0.28108606,
              "eta": 536728
            }
          }
        ]
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: