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

operationProfiling.filter config option rejects agg expressions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0, 4.4.3
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.8, v4.7, v4.4
    • Query 2020-10-19, Query 2020-11-02

    Description

      For example, this mongod.conf fails to parse:

      operationProfiling.filter: "{$sampleRate: 0.01}"
      

      "Failed to parse option operationProfiling.filter: Unrecognized expression '$lt'"

      But it's a valid filter, and the profile command accepts it. It looks like we are parsing this option before the map of aggregation expression parsers is populated.

      Attachments

        Issue Links

          Activity

            People

              david.percy@mongodb.com David Percy
              david.percy@mongodb.com David Percy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: