[SERVER-15948] Fast OplogStart mechanism for storage engines supporting arbitrary DiskLocs Created: 04/Nov/14  Updated: 19/Nov/14  Resolved: 04/Nov/14

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

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Tested
Backwards Compatibility: Minor Change
Participants:

 Description   

This is an internal feature that storage engines can opt into. If they support storing arbitrary keys as the loc in an insert, they can use the "ts" field from oplog entries (using the provided methods to extract the key). This allows replication to ask the storage engine where to look when a secondary tries to fetch oplog entries using a query like {ts: {$gt: OpTime(123, 445)}}.



 Comments   
Comment by Githook User [ 04/Nov/14 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-15948 dont run query_oplogreplay.js in sharding passthrough
Branch: master
https://github.com/mongodb/mongo/commit/100be46dd67ca36e90c281952295ec044929ff18

Comment by Githook User [ 04/Nov/14 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-15948 Update tests to new definition of isOplog
Branch: master
https://github.com/mongodb/mongo/commit/39032e1e57c9426f057147ffb785ab8822ec5530

Comment by Githook User [ 04/Nov/14 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-15948 add missing files
Branch: master
https://github.com/mongodb/mongo/commit/4731939510292ac460decd503e7b0e984c09a569

Comment by Githook User [ 04/Nov/14 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-15948 Fast OplogStart impl for RSs supporting arbitrary DiskLocs

Storage engines must opt-in to this functionality. For now, heap1 is the only
one to do so.
Branch: master
https://github.com/mongodb/mongo/commit/d5f6eb21a94a39bd39c3c7a7b0ac107aca33a7e4

Comment by Githook User [ 04/Nov/14 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-15948 Fix tests inserting duplicate ts's into oplog
Branch: master
https://github.com/mongodb/mongo/commit/f0bafc7c171217b7541d337723c6390a793be359

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