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

ReplBatcher should recalculate batch limits after oplog is resized via replSetResizeOplog

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
    • Replication

      We added support for dynamically resizing the oplog on WiredTiger nodes using the replSetResizeOplog command in SERVER-22766. The ReplBatcher thread calculates the batch limit once based on the oplog size known at the time the thread is spawned. We should look at re-evaluating this batch limit whenever the oplog is resized.

      This came out of a code review on SERVER-31587

            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            benety.goh@mongodb.com Benety Goh
            0 Vote for this issue
            1 Start watching this issue