Investigate interaction between lastWritten and dbCheck batchWriteConcern for v8.0+

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Repl 2025-12-22, Repl 2026-01-05, Repl 2026-01-19, Repl 2026-03-16
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In some customer cases using dbCheck, a common recommendation is to throttle dbCheck by setting batchWriteConcern: n = # of nodes in the set. This is to pause the next dbCheck batch until the previous batch has been replicated and applied on all nodes. However, now that we have separated lastWritten and lastApplied in v8.0+, we should clarify to what extent batchWriteConcern will be successful in throttling dbCheck.

      Acceptance criteria:

      • Doc explaining the current implementation (code dive)
      • Playbook update for this technique

            Assignee:
            Xuerui Fa
            Reporter:
            Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: