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

Rewrite resharding metrics duration component to allow for resuming from stepup

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v5.0
    • Sprint:
      Sharding 2021-05-17, Sharding 2021-05-31
    • Story Points:
      1

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            blake.oler Blake Oler
            Reporter:
            blake.oler Blake Oler
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: