[SERVER-40508] Move LocalOplogInfo into its own library Created: 05/Apr/19  Updated: 29/Oct/23  Resolved: 01/May/19

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

Type: Task Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Fixed Votes: 0
Labels: bigtxns_perf
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-40809 fix circular dependency between db/re... Closed
Related
related to SERVER-56453 move LocalOplogInfo out of db/repl to... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2019-04-22, Repl 2019-05-06
Participants:

 Description   

LocalOplogInfo holds the pointer to oplog collection. It should be available in other use cases outside oplog.cpp, for example, traversing the oplog for transactions. Only a global lock in any mode is needed to access it. This can save the AutoCollectionForReadCommand in TransactionHistoryIterator.



 Comments   
Comment by Siyuan Zhou [ 01/May/19 ]

SERVER-40809 moved achieved the same goal, so I'm closing this ticket.

Comment by Githook User [ 09/Apr/19 ]

Author:

{'email': 'siyuan.zhou@mongodb.com', 'name': 'Siyuan Zhou', 'username': 'visualzhou'}

Message: SERVER-40508 Remove hash from OplogSlot and make OplogSlot an alias for OpTime.
Branch: master
https://github.com/mongodb/mongo/commit/8cdc51e7810f7fd8898a4c60b935e389f04659ee

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