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

Skip oplog construction in OpObserver on secondaries

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • Replication

    Description

      We don't need to generate and write oplog entries in OpObserver on secondaries since the secondaries already copied them form the sync source. The check is at a low level right before writing the oplog entry to the disk. We can skip constructing oplog entries earlier for better performance.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: