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

Generic way to make test-only setParameters

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • Security 2018-12-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      On several occasions our team has introduced new setParameters which are intended to be configured only for testing purposes. We do not have an obvious way to enforce, however, that a user who is allowed to run the setParameter command cannot change the parameter in a production environment. There should be a way to add setParameters that can only be changed by authorized users when the server is configured with enableTestCommands=true. This could also help our users distinguish between legitimate knobs that they might want to tune and our internal testing machinery.

            Assignee:
            sara.golemon@mongodb.com Sara Golemon (Inactive)
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: