[SERVER-47603] Rewrite db.currentOp() shell helper in terms of $currentOp aggregation stage Created: 16/Apr/20  Updated: 29/Oct/23  Resolved: 07/May/21

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Katherine Wu (Inactive)
Resolution: Fixed Votes: 0
Labels: greenerbuild, qopt-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-14290 Investigate changes in SERVER-47603: ... Closed
Related
related to SERVER-55603 Shell read preference behavior is wro... Closed
is related to SERVER-51463 currentOp command silently fails to a... Backlog
is related to MONGOSH-1132 Make db.currentOp() use an aggregatio... Closed
is related to SERVER-55174 Investigate test failure in sharded_c... Closed
is related to SERVER-55175 Maintain original read concern for $c... Closed
Backwards Compatibility: Minor Change
Participants:
Linked BF Score: 75

 Description   

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.



 Comments   
Comment by Githook User [ 07/May/21 ]

Author:

{'name': 'Katherine Wu', 'email': 'katherine.wu@mongodb.com', 'username': 'kaywux'}

Message: SERVER-47603 Rewrite db.currentOp() shell helper in terms of $currentOp aggregation stage
Branch: master
https://github.com/mongodb/mongo/commit/bce8de3a989d7b5aeb1c1145099298bd81a5c9bb

Comment by Githook User [ 31/Mar/21 ]

Author:

{'name': 'Katherine Wu', 'email': 'katherine.wu@mongodb.com', 'username': 'kaywux'}

Message: Revert "SERVER-47603 Rewrite db.currentOp() shell helper in terms of $currentOp aggregation stage"

This reverts commit 30fd64abd177d11362f3b3460897eff1f8b7ce53.
Branch: v4.9
https://github.com/mongodb/mongo/commit/daf60669795913b6fcc677b63a7dd1dfae4038e5

Comment by Githook User [ 29/Mar/21 ]

Author:

{'name': 'Katherine Wu', 'email': 'katherine.wu@mongodb.com', 'username': 'kaywux'}

Message: Revert "SERVER-47603 Rewrite db.currentOp() shell helper in terms of $currentOp aggregation stage"

This reverts commit 30fd64abd177d11362f3b3460897eff1f8b7ce53.
Branch: master
https://github.com/mongodb/mongo/commit/dcad7b7b9bf075606b77c0c63ba78df617de50ef

Comment by Githook User [ 12/Mar/21 ]

Author:

{'name': 'Katherine Wu', 'email': 'katherine.wu@mongodb.com', 'username': 'kaywux'}

Message: SERVER-47603 Rewrite db.currentOp() shell helper in terms of $currentOp aggregation stage
Branch: master
https://github.com/mongodb/mongo/commit/30fd64abd177d11362f3b3460897eff1f8b7ce53

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