[DOCS-14396] Investigate changes in SERVER-56362: Add macOS version to build info Created: 30/Apr/21  Updated: 13/Nov/23  Resolved: 14/Jun/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 5.0.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Andrew Feierabend (Inactive)
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-56362 Add macOS version to build info Closed
Participants:
Days since reply: 2 years, 40 weeks, 5 days ago
Epic Link: DOCSP-9747

 Description   

Description

Downstream Change Summary

This change adds additional info about the current running version of macOS (when on that platform) to the output of getBuildInfo()

Description of Linked Ticket

getBuildInfo() on a mac currently returns only `macOS` without specifics about the version. It would be able to detect quirks (such as TLS handling on 10.15+) during jstests, so add the version to the build info output.

 

It appears we can use sysctlbyname to pull this information, something like:
 

char buffer[64];
size_t buffer_len = sizeof(buffer) - 1;
sysctlbyname("kern.osproductversion", buffer, &buffer_len, nullptr, 0);
buffer[buffer_len] = 0;

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)


Generated at Thu Feb 08 08:10:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.