[SERVER-67088] Create Instance Metrics Field Name Provider Base Class Created: 07/Jun/22  Updated: 29/Oct/23  Resolved: 14/Jul/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: Nandini Bhartiya
Resolution: Fixed 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-67090 Create Resharding Instance Metrics Fi... Closed
is depended on by SERVER-67091 Create Global Index Instance Metrics ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2022-07-11
Participants:
Story Points: 4

 Description   

Create a new base class ShardingDataTransformInstanceMetricsFieldNameProvider which has functions returning the field names for instance metrics fields which are shared by both resharding and global indexes. For fields which are logically shared by both, but have different field names (e.g. documentsCopied in resharding and keysWrittenFromScan in global indexes), those functions should be pure virtual.

ShardingDataTransformInstanceMetrics should accept an instance of this class in its constructor and use it when reporting its fields. The existing field name constants should also be removed, where possible.

Of the existing fields, all are shared either directly or logically except for the following, which will be addressed by SERVER-67090:

  • deletesApplied
  • insertsApplied
  • updatesApplied
  • oplogEntriesFetched
  • oplogEntriesApplied
  • totalApplyTimeElapsedSecs


 Comments   
Comment by Nandini Bhartiya [ 14/Jul/22 ]

EVG: https://evergreen.mongodb.com/version/62ce56b20ae60653db689786

Comment by Githook User [ 14/Jul/22 ]

Author:

{'name': 'nandinibhartiyaMDB', 'email': 'nandini.bhartiya@mongodb.com', 'username': 'nandinibhartiyaMDB'}

Message: SERVER-67088: Create the FieldNameProvider classes

Create the base class ShardingDataTransformInstanceMetricsFieldNameProvider & the derived
GlobalIndexMetricsFieldNameProvider, ReshardingMetricsFieldNameProvider classes
Branch: master
https://github.com/mongodb/mongo/commit/a203b1f3cc705e90f8d517e0270a5139da395e68

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