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

Make getParameter return the release version of enabled feature flags

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • None
    • Repl 2020-10-19

      Update getParameter to return both the value and the version of the feature flag, if the flag is currently enabled. For example, if featureFlagToaster is enabled on the server and the server version is 4.8:

      db.adminCommand({getParameter: 1, featureFlagToaster: 1})
      
      > {ok: 1, value: true, version: “4.8”}
      

      Features that are currently disabled on the server do not return the version. For example, if featureFlagToaster is disabled on the server:

      db.adminCommand({getParameter: 1, featureFlagToaster: 1})
      
      > {ok: 1, value: false}
      

            Assignee:
            jason.chan@mongodb.com Jason Chan
            Reporter:
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: