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

Create Resharding Cumulative Metrics Subclass

    XMLWordPrintable

Details

    • Fully Compatible
    • Sharding 2022-07-11, Sharding 2022-07-25, Sharding 2022-08-08

    Description

      Create a ReshardingCumulativeMetrics subclass of ShardingDataTransformCumulativeMetrics. All logic associated with tracking and reporting fields which are specific to be resharding should be moved into this new subclass from ShardingDataTransformCumulativeMetrics. The resharding specific cumulative fields are as follows:

      • oplogEntriesFetched
      • oplogEntriesApplied
      • insertsApplied
      • updatesAppied
      • deletesApplied
      • oplogFetchingTotalRemoteBatchRetrievalTimeMillis
      • oplogFetchingTotalRemoteBatchesRetrieved
      • oplogFetchingTotalLocalInsertTimeMillis
      • oplogFetchingTotalLocalInserts
      • oplogApplyingTotalLocalBatchRetrievalTimeMillis
      • oplogApplyingTotalLocalBatchesRetrieved
      • oplogApplyingTotalLocalBatchApplyTimeMillis
      • oplogApplyingTotalLocalBatchesApplied
      • All state field names (i.e. those in the section "currentInSteps")

      This class should accept an instance of ReshardingCumulativeMetricsFieldNameProvider and use it while reporting its fields.

      Attachments

        Issue Links

          Activity

            People

              brett.nawrocki@mongodb.com Brett Nawrocki
              brett.nawrocki@mongodb.com Brett Nawrocki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: