[DOCS-11475] Docs for SERVER-30464: Edit startup warning when running replset member as standalone to mention that data may look inconsistent Created: 21/Mar/18  Updated: 29/Oct/23  Resolved: 23/Jul/18

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.4

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

Issue Links:
Documented
documents SERVER-30464 Edit startup warning when running rep... Closed
Participants:
Days since reply: 5 years, 29 weeks, 2 days ago
Epic Link: DOCS: 4.0 Server

 Description   

Documentation Request Summary:

Per the code review, we should revisit our maintenance mode documentation and mention what operations are safe to perform when bringing up a repl set member as a standalone.

Scope of changes:

 /tutorial/perform-maintence-on-replica-set-members

Impact to other docs outside of this product:

none

MVP:

Resources:

Engineering Ticket Description:

With the recover to timestamp project now when you restart a replica set node as a standalone, the data will be at the checkpoint timestamp even though the oplog may contain entries past that time that have 'logically' been applied to this node (and would get applied at startup before accepting connections if the node was restarted as a replica set member again).

We already log the following startupWarning when a standalone is brought up that detects a replica set configuration:

2017-08-01T14:47:29.115-0400 I STORAGE  [initandlisten] ** WARNING: mongod started without --replSet yet 1 documents are present in local.system.replset
2017-08-01T14:47:29.115-0400 I STORAGE  [initandlisten] **          Restart with --replSet unless you are doing maintenance and  no other clients are connected.
2017-08-01T14:47:29.115-0400 I STORAGE  [initandlisten] **          The TTL collection monitor will not start because of this.
2017-08-01T14:47:29.115-0400 I STORAGE  [initandlisten] **         

We should amend that message to also say that the data may look inconsistent with the oplog. Perhaps something like adding the line "Database contents may appear inconsistent with the contents of the oplog and may appear to not contain writes that were visible when this node was running as part of a replica set." between the first and second lines of the existing message.



 Comments   
Comment by Githook User [ 23/Jul/18 ]

Author:

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

Message: DOCS-11475: add note about operations performed as a standalone
Branch: master
https://github.com/mongodb/docs/commit/62771f1bedf36fd5f6dc67619c6579e16589e873

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