Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13701

Investigate changes in SERVER-46726: Provide separate setParameter to disable diagnostic work

      Description

      Downstream Change Summary

      This patch introduces a new server parameter (i.e., testingDiagnosticsEnabled) for mongod and mongos that controls passive testing behavior. This option is for test purposes only, is disabled by default, and should never be used in production.

      Description of Linked Ticket

      We currently use enableTestCommands to enable diagnostic work and loosened permissions. This has an unfortunate side effect where sys-perf notices our non-production diagnostics. The path of least impact is an additional flag that enables "passive" testing behavior in addition to the "active" test commands.

      Note to server developers: moving forward, the new API for testing diagnostics (i.e., TestingProctor) must be used for any passive testing and diagnostics work (e.g., see latch analyzer for reference). Test commands (i.e., getTestCommandsEnabled) should only be used for registering test commands and anything related to the execution of test commands and fail-points. This enables separately controlling test commands and testing diagnostics.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

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

            Assignee:
            andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 years, 45 weeks, 6 days ago