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

Avoid slow insert batches blocking replication

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None
    • Replication

    Description

      We now have a tunable max batch size for inserts (typically 500).  While an insert batch is being inserted, replication of any operations started after the batch is blocked because insert holds open an oplog hole.  Normally this is fine, but if the inserts are slow, this can cause overall replication lag; if we could prevent this or detect this (e.g. break up an insert batch when it gets long) we could avoid lag.

      Attachments

        Issue Links

          Activity

            People

              backlog-server-repl Backlog - Replication Team
              matthew.russotto@mongodb.com Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated: