Rewrite resharding metrics duration component to allow for resuming from stepup

XMLWordPrintableJSON

    • Fully Compatible
    • v5.0
    • Sharding 2021-05-17, Sharding 2021-05-31
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      As-is, the metrics component assumes control of starting/stopping duration tracking, and the timestamps are opaque to the surrounding system. For recovery, the resharding machines need direct access to the timestamps to durably persist them to metadata documents. To solve this, we will need to either:

      1. Change the metrics component so that starting/stopping tracking returns a timestamp, or
      2. Invert responsibility so that the resharding state machines generate timestamps then pass them into the metrics component.

            Assignee:
            Blake Oler
            Reporter:
            Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: