[SERVER-26666] OplogBufferCollection should save sentinels in collection Created: 17/Oct/16 Updated: 25/Jan/17 Resolved: 21/Oct/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.0-rc2 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Repl 2016-10-31 |
| Participants: |
| Description |
|
Instead of maintaining a vector of the sentinel values in memory, OplogBufferCollection should store sentinels on disk. The _id field format would be changed from:
to:
Where i is the number of sentinels with the same timestamp <Timestamp>. This change would improve readability and make it easier to implement batched reads from the collection in |
| Comments |
| Comment by Githook User [ 21/Oct/16 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Githook User [ 21/Oct/16 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Githook User [ 21/Oct/16 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |