[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: |
|
||||||||||||||||
| 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: |