[SERVER-64387] Track and Report New Donor Fields in ServerStatus Created: 09/Mar/22  Updated: 29/Oct/23  Resolved: 03/May/22

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

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

Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2022-04-18, Sharding 2022-05-02, Sharding NYC 2022-05-16
Participants:
Story Points: 2

 Description   

Add members to ShardingDataTransformCumulativeMetrics to track the below newly added donor fields. These fields should also be reported when serializing the ServerStatus report.

  • countWritesDuringCriticalSection
    • Note: This field is present in the existing metrics, but is never incremented
  • countReadsDuringCriticalSection
  • countInstancesInDonorState1PreparingToDonate
  • countInstancesInDonorState2DonatingInitialData
  • countInstancesInDonorState3DonatingOplogEntries
  • countInstancesInDonorState4PreparingToBlockWrites
  • countInstancesInDonorState5Error
  • countInstancesInDonorState6BlockingWrite
  • countInstancesInDonorState7Done


 Comments   
Comment by Githook User [ 03/May/22 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-64387 Track and Report New Donor Fields in ServerStatus
Branch: master
https://github.com/mongodb/mongo/commit/28bb17b33b6445c9cf0c6c70523846372d6e1172

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