Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40508

Move LocalOplogInfo into its own library

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.11
    • Replication
    • Fully Compatible
    • Repl 2019-04-22, Repl 2019-05-06

    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.

      Attachments

        Issue Links

          Activity

            People

              siyuan.zhou@mongodb.com Siyuan Zhou
              siyuan.zhou@mongodb.com Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: