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

Make serverStatus command only include sections from the correct roles

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Workload Scheduling
    • Fully Compatible
    • Service Arch 2024-03-18, Service Arch 2024-04-01, Service Arch 2024-04-15, Service Arch On-hold Work

      ServerStatusSEctions are now tagged with roles that they are relevant to. When the serverStatus command is run, it has an opCtx that describes the role it is running under. The command should only include the sections relevant to that role in the output (note that a section can belong to multiple roles). Let's try and add some simple unittests if possible, and an integration test for embedded router mode as well.

            Assignee:
            george.wangensteen@mongodb.com George Wangensteen
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: