Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-67088

Create Instance Metrics Field Name Provider Base Class

    XMLWordPrintable

Details

    • Fully Compatible
    • Sharding 2022-07-11
    • 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

      Attachments

        Issue Links

          Activity

            People

              nandini.bhartiya@mongodb.com Nandini Bhartiya
              brett.nawrocki@mongodb.com Brett Nawrocki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: