[DOCS-10419] Clarify whether system.profile.op includes distinct and count Created: 22/Jun/17  Updated: 30/Oct/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Kevin Adistambha Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: collector-298ba4e7, docs-triage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/manual/reference/database-profiler/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Referrer: https://www.google.com.au/
Screen Resolution: 1440 x 900


Participants:
Days since reply: 1 year, 14 weeks, 2 days ago
Epic Link: DOCSP-1769

 Description   

The system.profile.op section lists distinct and count as possible values. However, the actual output from MongoDB 2.6 up to MongoDB 3.4 shows:

> db.system.profile.find()
{
  "op": "command",
  "ns": "test.test",
  "command": {
    "distinct": "test",
    "key": "a",
    "query": {
    ...

which shows that distinct is a command op, and not an op in its own right. This is also the case with count.

The current op list seems to be changed in DOCS-7700. Can this list be verified to be correct?



 Comments   
Comment by Education Bot [ 31/Oct/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

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