[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: |
|
||||||||||||||||
| 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 ] |
|
|
| Comment by Githook User [ 09/Apr/19 ] |
|
Author: {'email': 'siyuan.zhou@mongodb.com', 'name': 'Siyuan Zhou', 'username': 'visualzhou'}Message: |