[SERVER-57266] Create IDL representations for resharding metrics time intervals. Created: 27/May/21  Updated: 29/Oct/23  Resolved: 11/Jun/21

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

Type: Task Priority: Major - P3
Reporter: Blake Oler Assignee: Janna Golden
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
Depends
is depended on by SERVER-53913 ReshardingDonorService instances to l... Closed
is depended on by SERVER-57094 Plumb through duration timestamps in ... Closed
Problem/Incident
causes SERVER-58304 "metrics" field in resharding's donor... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-06-14
Participants:
Story Points: 1

 Description   

This ticket tracks only the creation of IDL structs and their placing inside the correct IDL documents. It will be best to do this in four code review patches, one to create the ReshardingMetricsDuration type, and three more for each resharding machine.

First, create a ReshardingMetricsTimeInterval struct inside common_types.idl. This struct should be strict:false and should contain two optional fields, a timestamp start and a timestamp end.

Then, place instances of this struct in these places, to track these time intervals. You will see that they match with time intervals on the ReshardingMetrics class.

Coordinator document:

  • operationRuntime

Recipient Document:

  • operationRuntime
  • documentCopy
  • oplogEntriesApplication

Donor document:

  • operationRuntime
  • criticalSection

(If you think you have better/more fitting names for the structs, feel free to comment or reach out to Blake Oler)



 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 [ 06/Oct/21 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-57266 Create IDL representations for resharding recipient and coordinator time intervals

(cherry picked from commit 6e6bfdaa1bfa5653d4f389d0a32e84ebe27c2376)
Branch: v5.0
https://github.com/mongodb/mongo/commit/29f82c5f24a9a69ed5e1cf79d13c12efa0986db9

Comment by Githook User [ 06/Oct/21 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-57266 Create IDL representation for resharding metrics time intervals

(cherry picked from commit 9f9b14e4c73d4ccb0d1f48c4faa73f4170f1c000)
Branch: v5.0
https://github.com/mongodb/mongo/commit/c804e93d6f1838474fc24a83f1f7c4e3496c7fde

Comment by Githook User [ 10/Jun/21 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-57266 Create IDL representations for resharding recipient and coordinator time intervals
Branch: master
https://github.com/mongodb/mongo/commit/6e6bfdaa1bfa5653d4f389d0a32e84ebe27c2376

Comment by Githook User [ 09/Jun/21 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-57266 Create IDL representation for resharding metrics time intervals
Branch: master
https://github.com/mongodb/mongo/commit/9f9b14e4c73d4ccb0d1f48c4faa73f4170f1c000

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