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

Fix Windows version detection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc3
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Platforms 2017-11-13

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: