Replace ShardingDataTransformCumulativeMetrics DeregistrationFunction with ScopeGuard

XMLWordPrintableJSON

    • Sharding NYC
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            [DO NOT USE] Backlog - Sharding NYC
            Reporter:
            Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: