-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Networking & Observability
-
None
-
None
-
None
-
None
-
None
-
None
-
None
SERVER-131792 fixes an issue in which a metric initialized at runtime could trigger the invariant added in SERVER-123241 when run on Windows with the mongod started with --serviceName.
This crash was never detected during our server side testing because we don't run windows binaries in this way and so even a metric initialized later in the startup sequence will still be initialized on the main thread in all server tests.
We should add some testing running binaries in this way to trigger this codepath so that we catch issues like this in server testing rather than in automation's testing.
- is related to
-
SERVER-131792 Fix initialization order problem with numCommandsTargetingSystemBuckets
-
- Closed
-
-
SERVER-123241 Allow adding metric to global metric trees during server initialization only
-
- Closed
-