[SERVER-65838] Remove applyOpsDeprecated usage from split/merge chunk functions Created: 20/Apr/22  Updated: 29/Oct/23  Resolved: 17/May/22

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

Type: Task Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-33326 Remove use of applyOps/doTxn from sha... Closed
Problem/Incident
causes SERVER-72413 Split may return an error when it is ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.1, v6.0
Sprint: Sharding EMEA 2022-05-02, Sharding EMEA 2022-05-16, Sharding EMEA 2022-05-30
Participants:

 Description   

When executing chunk operations when committing the changes, we're currently using applyOpsDeprecated, when splitting, and when merging, we should use something similar to resharding instead.



 Comments   
Comment by Githook User [ 07/Dec/22 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-70237 Chunks merge commit must not create a BSON object too large

Non trivial backport of SERVER-70237 and part of SERVER-65838
Branch: v6.0
https://github.com/mongodb/mongo/commit/1372bfc84c1913fa4c6c2d882ac8bbc7763af123

Comment by Githook User [ 16/May/22 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-65838 Use internal transactions instead of appyOpsDeprecated in sharding catalog chunk operations
Branch: master
https://github.com/mongodb/mongo/commit/7bd0bb1a99e1a4b1d596a2c834f46067482e8fb3

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