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

Fix numa node counting

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • None
    • None
    • Server Security
    • Fully Compatible
    • ALL
    • Security 2023-11-13, Security 2023-11-27, Security 2023-12-11

    Description

      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

       

      Attachments

        Activity

          People

            niaz.pavel@mongodb.com Niaz Pavel
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: