[SERVER-67508] provide interface for OpObserverImpl to append entries to the oplog Created: 24/Jun/22  Updated: 29/Oct/23  Resolved: 21/Jul/22

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

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

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-07-11, Execution Team 2022-07-25
Participants:

 Description   

One of the main responsibilities of the OpObserverImpl implementation is to compose and append oplog entries to the oplog collection. It currently does this by calling the methods defined in repl/oplog.h directly. It would be beneficial for testing and potential buffering applications to be able to provide an interface for OpObserverImpl to append to the oplog.



 Comments   
Comment by Githook User [ 17/Jul/22 ]

Author:

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

Message: SERVER-67508 redirect OpObserverImpl oplog access through OplogWriter
Branch: master
https://github.com/mongodb/mongo/commit/aed8e3a74d7f7bd5fc2d607d86d79636f9127cf2

Comment by Githook User [ 16/Jul/22 ]

Author:

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

Message: SERVER-67508 add OplogWriterTransactionProxy
Branch: master
https://github.com/mongodb/mongo/commit/52a596efa4256d42d895ee56ebfa4c7328f83164

Comment by Githook User [ 15/Jul/22 ]

Author:

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

Message: SERVER-67508 OpObserverImpl constructor accepts OplogWriter
Branch: master
https://github.com/mongodb/mongo/commit/6b60d7b2304cf01a1ad6109d7a15b66db5889ad0

Comment by Githook User [ 15/Jul/22 ]

Author:

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

Message: SERVER-67508 add OplogWriter
Branch: master
https://github.com/mongodb/mongo/commit/8f9869e8870e41c3422124965a2aaf3e1fd9e0d7

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