[SERVER-64386] Track and Report New Coordinator Fields in ServerStatus Created: 09/Mar/22  Updated: 29/Oct/23  Resolved: 22/Apr/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

Issue Links:
Depends
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2022-04-18, Sharding 2022-05-02
Participants:
Linked BF Score: 67
Story Points: 2

 Description   

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

  • countInstancesInCoordinatorState1Initializing
  • countInstancesInCoordinatorState2PreparingToDonate
  • countInstancesInCoordinatorState3Cloning
  • countInstancesInCoordinatorState4Applying
  • countInstancesInCoordinatorState5BlockingWrites
  • countInstancesInCoordinatorState6Aborting
  • countInstancesInCoordinatorState7Committing


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

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-64386 fix clang cxx20 compile
Branch: master
https://github.com/mongodb/mongo/commit/0a0ae7900246e65af79d6fc8d130ba17861d6af9

Comment by Githook User [ 22/Apr/22 ]

Author:

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

Message: SERVER-64386 Track and Report New Coordinator Fields in ServerStatus
Branch: master
https://github.com/mongodb/mongo/commit/5e9dcbad6a8b7f1443c824c3bd9d3498cfeae334

Comment by Max Hirschhorn [ 28/Mar/22 ]

Note that these counters are nested under a "currentInSteps" subdocument and will be decremented as the ReshardingCoordinators leaves the state (incrementing the counter for the new state). This is analogous to the handling for states in the TransactionCoordinator.

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