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

Fix Windows version detection

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-11-13

      Currently due to behavior changes GetVersionEx unless mongod/mongos is manifested to target OS versions after Windows 8, the GetVersionEx function always returns Windows 8. This makes detecting the customer's OS from logs difficult since the logs will get wrong information.

      References:
      https://msdn.microsoft.com/en-us/library/windows/desktop/dn481241(v=vs.85).aspx
      https://stackoverflow.com/questions/27246562/how-to-get-the-os-version-in-win8-1-as-getversion-getversionex-are-deprecated

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: