[SERVER-23916] Remove currentOpCtx command Created: 25/Apr/16  Updated: 05/Apr/17  Resolved: 30/Nov/16

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: None
Fix Version/s: 3.5.1

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: Daniel Gottlieb (Inactive)
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-15683 add method to introspect open Operati... Closed
Backwards Compatibility: Minor Change
Sprint: Storage 2016-12-12
Participants:

 Description   

The currentOpCtx command is undocumented and untested. It should be removed.

This command is a near-clone of the currentOp command; the only difference between the two is currentOpCtx calls reportState() on each client's recovery unit (if a recovery unit is active), and the result is added to the command output.

When this command is removed, RecoveryUnit::reportState() will be unused, and should also be removed.



 Comments   
Comment by Daniel Gottlieb (Inactive) [ 30/Nov/16 ]

CC downstreamchanges

Removed:
The `currentOpCtx` command

Rational:
It was undocumented and not being supported. Additionally, there were a few calls to get the system time inside every `WiredTigerRecoveryUnit` lifetime whose only consumer was this command.

Many people were unaware of this commands existence, so we expect downstream changes to be minimal.

Comment by Githook User [ 30/Nov/16 ]

Author:

{u'username': u'dgottlieb', u'name': u'Daniel Gottlieb', u'email': u'daniel.gottlieb@10gen.com'}

Message: SERVER-23916: Remove currentOpCtx command
Branch: master
https://github.com/mongodb/mongo/commit/26006273daac59fa23a9dd7c289d66321564f49a

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