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

Limit the number of applyOps operations in the oplog application buffer

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc13
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • v8.0
    • Repl 2024-07-08, Repl 2024-07-22
    • 200

      This is a follow-up to SERVER-91393.

      After SPM-3381 inserts are grouped into applyOps oplog entries. Each oplog entry can hold up to 500 applyOps operations. Limiting the buffer only by number of oplog entries is not sufficient to bound the lag between lastApplied and lastWritten introduced by SPM-3489, especially when there are a lot of indexes on the collection.

            Assignee:
            wenbin.zhu@mongodb.com Wenbin Zhu
            Reporter:
            wenbin.zhu@mongodb.com Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: