Test dbCheck with lagged secondary and writeConcern: n

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We've seen a few customer cases where dbCheck is executed on the set, resulting in asymmetric lag. In these cases, a common recommendation is to set batchWriteConcern: n = # of nodes, since the expectation is that dbCheck will block each batch on all nodes responding (effectively throttling dbCheck until the lagged secondary recovers). We should add a test to ensure that this behavior is correct and is a valid recovery strategy.

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

              Created:
              Updated:
              Resolved: