Move LocalOplogInfo into its own library

XMLWordPrintableJSON

    • Fully Compatible
    • Repl 2019-04-22, Repl 2019-05-06
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Siyuan Zhou
            Reporter:
            Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: