[DOCS-12872] Investigate changes in SERVER-29803: Add a 'tooStale' field to replSetGetStatus output when a node is in RECOVERING due to being too stale to sync from any available node Created: 10/Jul/19  Updated: 13/Nov/23  Due: 27/Mar/20  Resolved: 25/Mar/20

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

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Jeffrey Allen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-29803 Add a 'tooStale' field to replSetGetS... Closed
Participants:
Days since reply: 3 years, 46 weeks ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

SERVER ticket description: When a mongod, which is part of a replica set, cannot recover because the oplog has rolled over, the mongod node stays in the RECOVERING state. There is no way to tell the difference between a node in RECOVERING that is actively applying oplog and will eventually transition to SECONDARY, and one that is in RECOVERING due to being too stale and will never recover unless a node becomes available that has an overlap with its oplog.

Currently the only way to get this is through the logs, which keeps tools like ops/cloud manager from easily detecting and alerting when a node falls off the back of all available sync source oplogs.

Change Description: Add a field "tooStale: true" at the top level of the replSetGetStatus reply from a secondary when it can't recover because it's fallen off the oplog. In other states, there is no tooStale field in replSetGetStatus.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

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



 Comments   
Comment by Githook User [ 25/Mar/20 ]

Author:

{'email': 'jeffrey.allen@10gen.com', 'name': 'jeff-allen-mongo', 'username': 'jeff-allen-mongo'}

Message: (DOCS-12872) Add tooStale field to replSetGetStatus
Branch: master
https://github.com/mongodb/docs/commit/7da2a430bd0ed5d63b9e01329a73211ff369fe03

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