Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10300

Docs for SERVER-28575: Profile entry for update/delete should contain entire raw update/delete

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.8
    • Server
    • None

    Description

      Documentation Request Summary:

      The following page which details system.profile content will need updating to reflect these changes:

      https://docs.mongodb.com/manual/reference/database-profiler/

      Engineering Ticket Description:

      The profile entry for update/delete should contain the entire raw update/delete in the command field, i.e. for updates:

      { q: <query>, u: <update>, upsert: <boolean>, multi: <boolean>, ... }
      

      and for deletes:

      { q : <query>, limit : <integer>, ... }
      

      Remove the query, updateobj and collation fields, as they become redundant. Legacy updates/deletes should have the same format in the profile entry.

      Extend profile_*.js tests to ensure that the arrayFilters are logged for update and findAndModify.

      The log lines for individual updates/deletes and the currentOp should have the same command field. Their query, update, and collation fields should be removed.

      The query/insert field should be renamed to command for all command's currentOp, log lines, and profile entries.

      Attachments

        Issue Links

          Activity

            People

              pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
              emily.hall Emily Hall
              Jonathan Dahl Jonathan Dahl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                4 years, 34 weeks, 1 day ago