[SERVER-49907] Implement applyOps write rule for resharding's oplog application Created: 25/Jul/20  Updated: 29/Oct/23  Resolved: 12/Jan/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Fixed Votes: 0
Labels: PM-234-M2.5, PM-234-T-oplog-apply
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-49904 Update config.transactions entry for ... Closed
is depended on by SERVER-49905 Update config.transactions entry for ... Closed
Duplicate
is duplicated by SERVER-51766 Handle transactions in resharding opl... Closed
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-01-11, Sharding 2021-01-25
Participants:
Linked BF Score: 0
Story Points: 1

 Description   

Can defer to the logic for the corresponding insert, update, and delete rule after the applyOps array has been unwound.



 Comments   
Comment by Githook User [ 11/Jan/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-49907 Unroll applyOps entry and do resharding CRUD application.

This reverts commit 54e87285f802a49456c02c80cb0ddb0fbb54c88a.
Branch: master
https://github.com/mongodb/mongo/commit/ee8b301a9db0daccb7f990885268a53ac9d051fa

Comment by Githook User [ 09/Jan/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: Revert "SERVER-49907 Unroll applyOps entry and do resharding CRUD application."

This reverts commit 4363473d75cab2a487c6a6066b601d52230c7e1a.
Branch: master
https://github.com/mongodb/mongo/commit/54e87285f802a49456c02c80cb0ddb0fbb54c88a

Comment by Githook User [ 08/Jan/21 ]

Author:

{'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}

Message: SERVER-49907 Unroll applyOps entry and do resharding CRUD application.

Introduces a ReshardingOplogBatchPreparer class for creating writer
vectors. Also splits batch application in resharding's oplog application
into a first phase of CRUD application and a second phase of session
application.
Branch: master
https://github.com/mongodb/mongo/commit/4363473d75cab2a487c6a6066b601d52230c7e1a

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