[SERVER-56739] Rewrite resharding metrics duration component to allow for resuming from stepup Created: 06/May/21  Updated: 29/Oct/23  Resolved: 21/May/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.0.0-rc0, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Blake Oler Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-autocommits
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
causes SERVER-61473 Resharding coordinator calls Reshardi... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-05-17, Sharding 2021-05-31
Participants:
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.


 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 21/May/21 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-56739 Rewrite resharding metrics duration component to allow for resuming from stepup

(cherry picked from commit fe0042206cc3ea6a0792a956a876d5793a1c67c2)
Branch: v5.0
https://github.com/mongodb/mongo/commit/7d3a7badaf2407c4c3f0100e65110bcdf71fc246

Comment by Githook User [ 20/May/21 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-56739 Rewrite resharding metrics duration component to allow for resuming from stepup
Branch: master
https://github.com/mongodb/mongo/commit/fe0042206cc3ea6a0792a956a876d5793a1c67c2

Generated at Thu Feb 08 05:40:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.