Expose the number of replication waiters in serverStatus

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0, 5.0.27, 7.0.9, 6.0.16
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible
    • v7.3, v7.0, v6.0, v5.0
    • Repl 2024-01-08, Repl 2024-01-22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The replication waiters list can grow with the number of operations waiting for write concern. Advancing replication timestamps also requires updating all waiters in this list under a mutex. If the list is long, this can take a long time.

      It would be useful to be able to see how many operations are waiting for replication in this state, which would make it easier to diagnose problems in this area.

            Assignee:
            Matthew Russotto
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: