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

Replace ShardingDataTransformCumulativeMetrics DeregistrationFunction with ScopeGuard

    • Sharding NYC

      Currently, ShardingDataTransformCumulativeMetrics::registerInstanceMetrics() returns a lambda which must be later called by the instance metrics in order to deregister itself from the cumulative metrics. Instead, return a ScopeGuard created from that lambda so that the intent is more clear.

            Assignee:
            backlog-server-sharding-nyc [DO NOT USE] Backlog - Sharding NYC
            Reporter:
            brett.nawrocki@mongodb.com Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: