[SERVER-84440] Expose the number of replication waiters in serverStatus Created: 28/Dec/23  Updated: 19/Jan/24  Resolved: 11/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Louis Williams Assignee: Matthew Russotto
Resolution: Fixed Votes: 0
Labels: RDY
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by COMPASS-7575 Investigate changes in SERVER-84440: ... Closed
Documented
is documented by DOCS-16581 Investigate changes in SERVER-84440: ... Closed
Problem/Incident
Related
is related to SERVER-84449 High load can cause replication lag l... Open
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2024-01-08, Repl 2024-01-22
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 11/Jan/24 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-84440 Expose the number of replication waiters in serverStatus

GitOrigin-RevId: 916e8966874206ec19f2ad8ebc04bfd632c7831a
Branch: master
https://github.com/mongodb/mongo/commit/6642a89a91944eadd269a6945e83a6bd45db9e01

Comment by Githook User [ 11/Jan/24 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-84440 Promote Atomic64Metric to mongo namespace

GitOrigin-RevId: 7fd31b67db940261b7d161d1311d5449de83761a
Branch: master
https://github.com/mongodb/mongo/commit/fc93f972395a09d6b6a79bf9478e165d1de574ca

Generated at Thu Feb 08 06:55:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.