[SERVER-40169] Apply commitTransaction of unprepared transactions with CRUD ops in the same batch during recovery and initial sync Created: 15/Mar/19  Updated: 29/Oct/23  Resolved: 06/Apr/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.1.10

Type: Bug Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-39434 Apply the new "commit" oplog entry fo... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage NYC 2019-04-08
Participants:

 Description   

SERVER-39434 allows commitTransaction of unprepared transactions applied with CRUD ops in steady state replication. Recovery and initial sync should behave the same. This can be covered by SERVER-39950 to merge two batching code paths.



 Comments   
Comment by Githook User [ 06/Apr/19 ]

Author:

{'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}

Message: SERVER-40169 OplogApplier::getNextApplierBatch() groups unprepared commitTransaction oplog entries with CRUD ops

This applies changes from commit 3328515f7d80c8cedcaf8c0df83c6effc60330d0.
Branch: master
https://github.com/mongodb/mongo/commit/bb12cc699844e8231389a9a878d0b35253cecfa1

Comment by Githook User [ 06/Apr/19 ]

Author:

{'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}

Message: SERVER-40169 OplogApplier::getNextApplierBatch() processes admin.system.version oplog entries individually

This applies changes from commit 0d79175a88ee958722c0ffb276606949e695d028.
Branch: master
https://github.com/mongodb/mongo/commit/ff982a6935c99adebb637adec876c471f282fdc5

Comment by Githook User [ 06/Apr/19 ]

Author:

{'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}

Message: SERVER-40169 OplogApplier::getNextApplierBatch() processes system.views oplog entries individually

This applies changes from commit f78e580dad60fa6ece39f34b3dcfc3ed95b85414.
Branch: master
https://github.com/mongodb/mongo/commit/8035a39207bcdecf63a12c45c3884d2345bc50a6

Comment by Githook User [ 06/Apr/19 ]

Author:

{'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}

Message: SERVER-40169 add unit test for OplogApplier with test cases for CRUD and applyOps operations
Branch: master
https://github.com/mongodb/mongo/commit/3e7b98708d5e412821c08acea437d3b646473736

Comment by Githook User [ 05/Apr/19 ]

Author:

{'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}

Message: SERVER-40169 OplogEntry constructor accepts prepare argument
Branch: master
https://github.com/mongodb/mongo/commit/f8a74023fa0034ee96668348904f6f1493c6fef0

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