[DOCS-14290] Investigate changes in SERVER-47603: Rewrite db.currentOp() shell helper in terms of $currentOp aggregation stage Created: 15/Mar/21  Updated: 13/Nov/23  Resolved: 30/Aug/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 5.0.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Ian Fogelman
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-47603 Rewrite db.currentOp() shell helper i... Closed
Participants:
Days since reply: 2 years, 23 weeks, 2 days ago
Epic Link: DOCSP-15042
Story Points: 3

 Description   

Description

Downstream Change Summary

The db.currentOp shell command previously ran the currentOp server command. This patch changed it to run an aggregate command with the $currentOp stage.

Description of Linked Ticket

There are several limitations with db.currentOp(), including the documented 16MB result set size. There have been various testing issues because of this, such as SERVER-47513 where the command gets truncated due to the size of the response.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 30/Aug/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-14290 Mongosh db.currentOp now uses agg stage
Branch: master
https://github.com/mongodb/docs/commit/8d51a522e3cfcd1fff4b97720b7f4d8c529da146

Comment by Githook User [ 30/Aug/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-14290 Mongosh db.currentOp now uses agg stage
Branch: v5.0
https://github.com/mongodb/docs/commit/6a0801e1cd7f9d4a4a754e9b670bfd970d6bda9d

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