[SERVER-64372] Track and Report Parity Donor Fields in CurrentOp Created: 09/Mar/22  Updated: 09/Jun/22  Resolved: 18/Apr/22

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

Type: New Feature Priority: Major - P3
Reporter: Brett Nawrocki Assignee: Brett Nawrocki
Resolution: Done Votes: 0
Labels: sharding-nyc-subteam1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-64373 Implement Restoration for Parity Dono... Closed
is depended on by SERVER-64378 Track and Report New Donor and Recipi... Closed
is depended on by SERVER-64392 Achieve Feature Parity Between Existi... Closed
Duplicate
is duplicated by SERVER-53911 Increment countWritesDuringCriticalSe... Closed
is duplicated by SERVER-57094 Plumb through duration timestamps in ... Closed
Problem/Incident
Related
related to SERVER-65469 Don't invariant in PrimaryOnlyService... Closed
Sprint: Sharding NYC 2022-04-04, Sharding NYC 2022-04-18
Participants:
Linked BF Score: 135
Story Points: 3

 Description   

Add members to ShardingDataTransformInstanceMetrics to track the below donor-only fields necessary to achieve parity with the existing metrics. These fields should also be reported when serializing the CurrentOp report.

Fields:

  • countWritesDuringCriticalSection
  • totalCriticalSectionTimeElapsedSecs


 Comments   
Comment by Githook User [ 14/Apr/22 ]

Author:

{'name': 'Brett Nawrocki', 'email': 'brett.nawrocki@mongodb.com', 'username': 'brettnawrocki'}

Message: SERVER-64372 Clean up some wording in comments and logs
Branch: master
https://github.com/mongodb/mongo/commit/54dbf25fc257904e66e767fdf46e69759448a36e

Comment by Githook User [ 14/Apr/22 ]

Author:

{'name': 'Brett Nawrocki', 'email': 'brett.nawrocki@mongodb.com', 'username': 'brettnawrocki'}

Message: SERVER-64372 Add parity $currentOp resharding donor fields

Track and report the following fields in
ShardingDataTransformInstanceMetrics for resharding $currentOp:
countWritesDuringCriticalSection
totalCriticalSectionTimeElapsedSecs
Branch: master
https://github.com/mongodb/mongo/commit/37deca965953bf21b38d5e3572e46e102b3badc6

Comment by Githook User [ 08/Apr/22 ]

Author:

{'name': 'Brett Nawrocki', 'email': 'brett.nawrocki@mongodb.com', 'username': 'brettnawrocki'}

Message: Revert "SERVER-64372 Add parity $currentOp resharding donor fields"

This reverts commit ecbaddb63705f5ac10f299a539a584d24fcfa20c.
Branch: master
https://github.com/mongodb/mongo/commit/1adf91969ad4e216d70c42d6625c6f7096f067f7

Comment by Githook User [ 06/Apr/22 ]

Author:

{'name': 'Brett Nawrocki', 'email': 'brett.nawrocki@mongodb.com', 'username': 'brettnawrocki'}

Message: SERVER-64372 Add parity $currentOp resharding donor fields

Track and report the following fields in
ShardingDataTransformInstanceMetrics for resharding $currentOp:
countWritesDuringCriticalSection
totalCriticalSectionTimeElapsedSecs
Branch: master
https://github.com/mongodb/mongo/commit/ecbaddb63705f5ac10f299a539a584d24fcfa20c

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