[SERVER-57761] Increment insert opcounter as part of resharding collection cloning Created: 16/Jun/21  Updated: 29/Oct/23  Resolved: 15/Jul/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: Max Hirschhorn Assignee: Haley Connelly
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-57760 Introduce dedicated OpCounters-like m... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-07-12, Sharding 2021-07-26
Participants:
Story Points: 1

 Description   

Incrementing reshardingStatistics.resharding.opcounters.insert is technically redundant with shardingStatistics.resharding.documentsCopied but the opcounters version allows the graph to be continuous as the recipient shard transitions from cloning to applying.

https://github.com/mongodb/mongo/blob/9103cc7b17be65b107ab7c9d49ce111bb32654fc/src/mongo/db/s/resharding/resharding_collection_cloner.cpp#L314



 Comments   
Comment by Githook User [ 08/Oct/21 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}

Message: SERVER-57761 Increment insert opcounter as part of resharding collection cloning

(cherry picked from commit 57a065ad7271a48c060cfb60d0dea7e297f70479)
Branch: v5.0
https://github.com/mongodb/mongo/commit/f038feda3972722b405ffbcfa25973c45a806af3

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 [ 15/Jul/21 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}

Message: SERVER-57761 Increment insert opcounter as part of resharding collection cloning
Branch: master
https://github.com/mongodb/mongo/commit/57a065ad7271a48c060cfb60d0dea7e297f70479

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