[SERVER-33326] Remove use of applyOps/doTxn from sharding chunk operations Created: 14/Feb/18  Updated: 29/Oct/23  Resolved: 24/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: Spencer Brody (Inactive) Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 1
Labels: pm-564
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-65836 Change applyOps for internal transact... Closed
depends on SERVER-65837 Use internal transactions instead of ... Closed
depends on SERVER-65838 Remove applyOpsDeprecated usage from ... Closed
is depended on by SERVER-33325 review use of "b" field in applyOps u... Closed
is depended on by SERVER-33182 Remove atomic applyOps Closed
Duplicate
is duplicated by SERVER-53502 Consider introducing fine grained chu... Closed
Related
related to SERVER-65531 Crash when running applyOps command w... Backlog
related to SERVER-65774 applyOps command does not to write to... Backlog
related to SERVER-50381 3 way deadlock between applyOps cmd, ... Closed
related to SERVER-65553 Atomic applyOps generates a change st... Closed
related to SERVER-64972 Generate change stream events for bat... Closed
related to SERVER-36263 Bypassing operation validation in app... Closed
is related to SERVER-58026 Omitted FTDC sections cause frequent ... Backlog
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-05-02, Sharding EMEA 2022-05-16, Sharding EMEA 2022-05-30
Participants:

 Description   

Now that all chunk operations run in specialized config server commands, those commands can just do their multi-doc transaction writes directly in a single WUOW, there's no need to rely on applyOps/doTxn machinery. Doing this for 4.0 would allow us to remove support for atomic applyOps in 4.0, which is something the repl team is quite interested in.



 Comments   
Comment by Githook User [ 23/May/22 ]

Author:

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

Message: SERVER-33326 Remove applyChunkOpsDeprecated from the catalog client
Branch: master
https://github.com/mongodb/mongo/commit/983e91adae4c96a31e4815b502e9049da38923c5

Comment by Suganthi Mani [ 19/Aug/20 ]

+ Another motivation from replication to remove atomic apply ops is SERVER-50381

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