[SERVER-57331] Expose currentOp metrics so that they can be easily restored. Created: 01/Jun/21  Updated: 29/Oct/23  Resolved: 04/Jun/21

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

Type: New Feature Priority: Major - P3
Reporter: Kshitij Gupta Assignee: Kshitij Gupta
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-06-14
Participants:

 Description   

Currently, the only way to increment currentOp metrics involves calling functions that also increment cumulativeOp metrics. When we restore after a stepUp, we only want to increment currentOp metrics.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 10/Jun/21 ]

Author:

{'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}

Message: SERVER-57331: Expose currentOp metrics so that they can be easily
restored.

(cherry picked from commit cc5fdbf33c483c43a8b6d2e0f9484989a7e9e2fe)
Branch: v5.0
https://github.com/mongodb/mongo/commit/1e8dcd90dcc571146c3eff72c606529996a56434

Comment by Githook User [ 04/Jun/21 ]

Author:

{'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}

Message: SERVER-57331: Expose currentOp metrics so that they can be easily
restored.
Branch: master
https://github.com/mongodb/mongo/commit/cc5fdbf33c483c43a8b6d2e0f9484989a7e9e2fe

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