Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15338

Investigate changes in SERVER-65723: Add tunable parameter to improve batching on secondaries

      Original Downstream Change Summary

      This adds a new server parameter 'oplogBatchDelayMillis', which can be used to improve batching (and thus reduce I/O operations) on secondaries at the cost of increasing majority-write latency. The default is 0, no delay.

      Description of Linked Ticket

      The combination of ending oplog batches when the commit point moves and oplog exhaust results in very small oplog batches when the secondaries are nearly caught up. This results in more iops on the secondary. This ticket will add a knob to delay oplog batching when we're caught up, which will improve batching at the expense of some w:majority latency. Experimentally a modest delay of 20ms was enough to restore full-sized batches when the oplog is being continuously written (e.g. multi-update). The default for this parameter will be 0.

            Assignee:
            jeffrey.allen@mongodb.com Jeffrey Allen
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              1 year, 35 weeks ago