|
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
|