[DOCS-12483] Docs for SERVER-38696: Add additional metrics and logging on stepdown Created: 15/Feb/19  Updated: 13/Nov/23  Resolved: 20/Feb/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.9, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-38696 Add additional metrics and logging on... Closed
Gantt Dependency
has to be done after DOCS-12489 Update server status metrics.repl sec... Closed
Participants:
Days since reply: 4 years, 51 weeks ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

Description

Description:

Added below metrics to server status.
(https://docs.mongodb.com/manual/reference/command/serverStatus/#serverstatus.metrics.repl)
1) metrics.repl.stepDown - A document that reports on metrics collected
while performing step down.
2) metrics.repl.stepDown.userOperationsKilled - Tracks the number of user operations killed on step down.
3) metrics.repl.stepDown.userOperationsRunning - Tracks the number of user operations left running on step down.
4) metrics.repl.network.notMasterLegacyUnacknowledgedWrites - Tracks the number of times a legacy unacknowledged write failed due to not master error resulted in network disconnection.
5) metrics.repl.network.notMasterUnacknowledgedWrites - Tracks the number of times an unacknowledged write failed due to not master error resulted in network disconnection.

Engineering Ticket Description:

Add the following metrics to server status:

  • repl.stepDown.userWriteOperationsKilled: Write operations killed by stepdown.
  • repl.stepDown.userReadOperationsRunning: Read operations left running at stepdown
  • repl.network.secondaryLegacyUnacknowledgedWrites: Write operations to a secondary which resulted in a disconnection due to being an unacknowledged write (legacy ops)
  • repl.network.secondaryUnacknowledgedWrites: Write operations to a secondary which resulted in a disconnection due to being an unacknowledged write

Add the following logging:

  • At stepdown log the number of operations killed and preserved.
  • Log when an unacknowledged write results in a disconnection.

Scope of changes

  • 4.2
  • serverStatus

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 20/Feb/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12483: 4.2 serverstatus stepdown metrics
Branch: master
https://github.com/mongodb/docs/commit/5044fb0a2d68080ea24535541fc3de132d015452

Generated at Thu Feb 08 08:05:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.