[SERVER-32334] Update startup/rollback recovery to use new Applier interface for oplog application Created: 14/Dec/17  Updated: 30/Oct/23  Resolved: 17/May/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Gregory McKeon (Inactive) Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-32332 Put SyncTail behind new Applier inter... Closed
Duplicate
duplicates SERVER-29903 Roll Back to Checkpoint: Apply oplog ... Closed
Related
related to SERVER-33879 config.transactions is not updated du... Closed
related to SERVER-51430 update log message search in recovery... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-03-26, Repl 2018-04-09, Repl 2018-04-23, Repl 2018-05-07, Repl 2018-05-21
Participants:

 Comments   
Comment by Githook User [ 17/May/18 ]

Author:

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

Message: SERVER-32334 add OplogApplier::Observer implementation for debug logging during recovery oplog application
Branch: master
https://github.com/mongodb/mongo/commit/bd105e30805b88477452127c726ae2156296efd1

Comment by Githook User [ 10/May/18 ]

Author:

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

Message: SERVER-32334 ReplicationRecoveryImpl::_applyToEndOfOplog() applies operations using OplogApplier
Branch: master
https://github.com/mongodb/mongo/commit/d2d8ecb4e06716be2074ddf79d0f514dd56b4b1c

Comment by Githook User [ 09/May/18 ]

Author:

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

Message: SERVER-32334 add OplogApplier::multiApply
Branch: master
https://github.com/mongodb/mongo/commit/ea8b29a06e9e419e8c20bb56221e8c7bae4fd07d

Comment by Githook User [ 09/May/18 ]

Author:

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

Message: SERVER-32334 add OplogBuffer adaptor for DBDirectClient oplog query
Branch: master
https://github.com/mongodb/mongo/commit/d3ad5762ef90fef083584333a39fd9fd26407c58

Comment by Githook User [ 09/May/18 ]

Author:

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

Message: SERVER-32334 make calculateBatchLimitBytes a static function of SyncTail
Branch: master
https://github.com/mongodb/mongo/commit/0365ae12f1dbe4c28c7488e0e6b17c62edd8f681

Comment by Githook User [ 08/May/18 ]

Author:

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

Message: SERVER-32334 relax constraints on OplogApplier options to support recovery
Branch: master
https://github.com/mongodb/mongo/commit/9daeb0d594590eacc4850c4432da4827fc58698a

Comment by Githook User [ 07/May/18 ]

Author:

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

Message: SERVER-32334 SyncTail::multiSyncApply supports OplogApplier::Options::allowNamespaceNotFoundErrorsOnCrudOps
Branch: master
https://github.com/mongodb/mongo/commit/5cbbdd3e016d6a53ca3ce035762017f005c05d7f

Comment by Githook User [ 04/May/18 ]

Author:

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

Message: SERVER-32334 SyncTail::multiSyncApply sets oplog application mode based on oplog write setting in options
Branch: master
https://github.com/mongodb/mongo/commit/757c434668e4936d6b2ac62131be7f12aeac25be

Comment by Githook User [ 04/May/18 ]

Author:

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

Message: SERVER-32334 SyncTail::multiApply() supports opting out of consistency marker and oplog updates

This commit adds skipWritesToOplog to OplogApplier::Options.
Branch: master
https://github.com/mongodb/mongo/commit/6504d821f1299492272f6497ab17b030f2801a87

Comment by Githook User [ 04/May/18 ]

Author:

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

Message: SERVER-32334 multiSyncApply and multiInitialSync require valid SyncTail pointer
Branch: master
https://github.com/mongodb/mongo/commit/3539922e751fc79f536a43aae6da422e5a4a03d0

Comment by Githook User [ 04/May/18 ]

Author:

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

Message: SERVER-32334 SyncTail accepts optional OplogApplier::Options
Branch: master
https://github.com/mongodb/mongo/commit/f52a9687dff3b08770856d800272c642788427bb

Comment by Githook User [ 04/May/18 ]

Author:

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

Message: SERVER-32334 move static SyncTail functions to above constructors
Branch: master
https://github.com/mongodb/mongo/commit/3450ec365efad2ebb46da7a74744477c4b2d7739

Comment by Githook User [ 02/May/18 ]

Author:

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

Message: SERVER-32334 SyncTailTest and IdempotencyTest no longer require global ReplicationProcess and StorageInterface.
Branch: master
https://github.com/mongodb/mongo/commit/bbe227d11d937088f832c5e485f16621d4251966

Comment by Githook User [ 02/May/18 ]

Author:

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

Message: SERVER-32334 SyncTail uses ReplicationConsistency and StorageInterface provided at construction

Previously, SyncTail accessed these globals implicitly through OperationContext/ReplicationProcess.
Branch: master
https://github.com/mongodb/mongo/commit/d54b9f51949186e0f99e60f41e9b2b9a7f3802c4

Comment by Githook User [ 02/May/18 ]

Author:

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

Message: SERVER-32334 OplogApplier and SyncTail accept ReplicationConsistencyMarkers and StorageInterface at construction
Branch: master
https://github.com/mongodb/mongo/commit/ed967e1216becd9195a77cbce5bd0f9a40a54d5b

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