[SERVER-24752] Oplog as Buffer: OplogBufferCollection should save sentinel documents outside of collection Created: 23/Jun/16  Updated: 19/Jul/16  Resolved: 28/Jun/16

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

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Related
is related to SERVER-22130 Reset applier lastAppliedOptime after... Closed
is related to SERVER-24491 Oplog as Buffer: Integration Tests Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 16 (06/24/16), Repl 17 (07/15/16)
Participants:

 Description   

The OplogBufferCollection currently tries to store sentinel oplog entries, which are empty BSONObjs into the collection, which causes them to be both out of order and error when duplicated. Rather than putting them in the collection, we should save the optimes in which they're pushed, and then pop them when appropriate.



 Comments   
Comment by Githook User [ 28/Jun/16 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-24752 OplogBufferCollection saves sentinel documents outside of collection
Branch: master
https://github.com/mongodb/mongo/commit/6323d38c958e0232664cb281c8b258ef0106e844

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