[DOCS-10300] Docs for SERVER-28575: Profile entry for update/delete should contain entire raw update/delete Created: 24/May/17  Updated: 29/Oct/23  Resolved: 04/Oct/17

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 3.5.8

Type: Task Priority: Major - P3
Reporter: Emily Hall Assignee: Pavithra Vetriselvan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-28575 Profile entry for update/delete shoul... Closed
Participants:
Days since reply: 6 years, 19 weeks, 5 days ago
Epic Link: DOCS: 3.6 Server

 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.



 Comments   
Comment by Githook User [ 29/Sep/17 ]

Author:

{'email': 'pavi@MacBook-Pro-77.local', 'name': 'Pavithra Vetriselvan'}

Message: DOCS-10300 added a profile entry example for update and delete commands

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/f660852f01b915bf7083e71972a545fc22e2137b

Generated at Thu Feb 08 08:00:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.