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

Move LocalOplogInfo into its own library

    XMLWordPrintableJSON

Details

    • 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

        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: