Add test coverage for metric initialization on different threads with Windows

    • 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.

            Assignee:
            Unassigned
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: