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

Plumb through duration timestamps in resharding state machines

    • Sharding NYC
    • Sharding 2021-07-12, Sharding 2021-07-26, Sharding 2021-08-09

      In each of the resharding machines, before starting or ending a specific metrics time interval (example here), make sure that a state transition that updates a state also persists that timestamp to disk. For the recipient specifically, that will involve plumbing through the state transition code here until creating a new entry for the setBuilder here.

      It will be easiest to start with the coordinator or recipient to figure out the pattern needed. I'm specifically requesting to give me a standalone committable patch set for each machine, to make it easier to review and to ensure that the pattern-matching will be done correctly for subsequent machines.

            backlog-server-sharding-nyc [DO NOT USE] Backlog - Sharding NYC
            blake.oler@mongodb.com Blake Oler
            0 Vote for this issue
            4 Start watching this issue