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

Make getParameter return the release version of enabled feature flags

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Repl 2020-10-19

    Description

      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}
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: