[SERVER-77638] Add logging on completion of resharding Created: 31/May/23  Updated: 29/Oct/23  Resolved: 04/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.2, 5.0.22, 6.0.11, 7.1.0-rc3

Type: Task Priority: Major - P3
Reporter: Matthew Russotto Assignee: Jiawei Yang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
duplicates SERVER-80173 Write $currentOp Metrics for Reshardi... Closed
Related
related to SERVER-80683 Record diagnostics about restore perf... Backlog
related to SERVER-79751 File log injection rule for reshardin... Closed
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.1, v7.0, v6.0, v5.0
Sprint: Repl 2023-08-07
Participants:

 Description   

Add logging on completion of resharding operations containing relevant statistics. These are intended for automated analysis.



 Comments   
Comment by Githook User [ 19/Sep/23 ]

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-77638 Add logging of metrics on completion of resharding
Branch: v7.1
https://github.com/mongodb/mongo/commit/ba0c01e0cab4c5606c42a4f7c31a84435c1c0bcf

Comment by Githook User [ 12/Sep/23 ]

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-77638 Add logging of metrics on completion of resharding
Branch: v5.0
https://github.com/mongodb/mongo/commit/d1176ff8633756bb0d53dc7c4d95604775d6be14

Comment by Githook User [ 12/Sep/23 ]

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-77638 Add logging of metrics on completion of resharding
Branch: v6.0
https://github.com/mongodb/mongo/commit/da78167a17bc989d20870863979965fcc5e04c54

Comment by Githook User [ 12/Sep/23 ]

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-77638 Add logging of metrics on completion of resharding
Branch: v7.0
https://github.com/mongodb/mongo/commit/2cb1855da70b6a31a899b1d7a60ca4d76d6b8d3c

Comment by Jiawei Yang [ 11/Sep/23 ]

If we finally decide not to enable feature flag on 7.1, we need to remove the feature flag check for this log on 7.1 so the behavior is consistent among release versions.

Comment by Jiawei Yang [ 11/Sep/23 ]

For the backports, we only backport the log line with timing and we will remove the data transformation related metrics since these require the ReshardingCoordinatorDocument changes.

Comment by Githook User [ 07/Aug/23 ]

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-77638 Add logging of metrics on completion of resharding
Branch: minh.luu-no_compile_sys-perf
https://github.com/mongodb/mongo/commit/7bf5364633e3ab639a012831d737118136ef577c

Comment by Githook User [ 04/Aug/23 ]

Author:

{'name': 'Jiawei Yang', 'email': 'jiawei.yang@mongodb.com', 'username': 'YoungYang0820'}

Message: SERVER-77638 Add logging of metrics on completion of resharding
Branch: master
https://github.com/mongodb/mongo/commit/7bf5364633e3ab639a012831d737118136ef577c

Generated at Thu Feb 08 06:36:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.