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

Literal and field name redaction for aggregate command

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 7.1.0-rc0
    • None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-05-15, QO 2023-05-29

    Description

       

      db.runCommand(
         {
           aggregate: "<collection>" || 1,
           pipeline: [ <stage>, <...> ],
           explain: <boolean>,
           allowDiskUse: <boolean>,
           cursor: <document>,
           maxTimeMS: <int>,
           bypassDocumentValidation: <boolean>,
           readConcern: <document>,
           collation: <document>,
           hint: <string or document>,
           comment: <any>,
           writeConcern: <document>,
           let: <document> // Added in MongoDB 5.0
         }
      ) 

      The fields aggregate, pipeline, explain, allowDiskUse, collation, hint, and let are part of the query shape and will be abstracted as such. The remaining field values should have literals abstracted.

       

      Attachments

        Issue Links

          Activity

            People

              will.buerger@mongodb.com Will Buerger
              joshua.lapacik@mongodb.com Joshua Lapacik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: