Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-79575

Fix numa node counting

    • Server Security
    • Fully Compatible
    • ALL
    • v7.0, v6.0, v5.0, v4.4
    • Security 2023-11-13, Security 2023-11-27, Security 2023-12-11

      There is an off-by-one bug where on a two node numa system, we count it as 3 nodes.

      This code should be `return i - 1`;

      https://github.com/mongodb/mongo/blob/217c5457fac/src/mongo/util/processinfo_linux.cpp#L783-L787

       

            Assignee:
            niaz.pavel@mongodb.com Niaz Pavel (Inactive)
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: