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

Rewrite resharding metrics duration component to allow for resuming from stepup

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

      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@mongodb.com Blake Oler
            Reporter:
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: