[DOCS-13688] State transition description not correct for Arbiters Created: 04/Jun/20  Updated: 30/Oct/23  Due: 05/Jun/20  Resolved: 04/Jun/20

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

Type: Bug Priority: Minor - P4
Reporter: Nic Cottrell Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 3 years, 35 weeks, 6 days ago
Epic Link: DOCSP-1769

 Description   

Description

Link: https://docs.mongodb.com/manual/reference/replica-states/index.html#replstate.STARTUP2

This states:

> Each member of a replica set enters the STARTUP2 state as soon as mongod finishes loading that member’s configuration, at which time it becomes an active member of the replica set and is eligible to vote. 

However arbiters seem to go straight from STARTUP->ARBITER as per these log lines:

2020-06-04T13:35:43.959+0200 I  REPL     [replexec-0] New replica set config in use: { _id: "replset", version: 1, protocolVersion: 1, writeConcernMajorityJournalDefault: true, members: [ { _id: 0, host: "localhost:27017", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 1, host: "localhost:27018", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 2, host: "localhost:27019", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 3, host: "localhost:27020", arbiterOnly: true, buildIndexes: true, hidden: false, priority: 0.0, tags: {}, slaveDelay: 0, votes: 1 } ], settings: { chainingAllowed: true, heartbeatIntervalMillis: 2000, heartbeatTimeoutSecs: 10, electionTimeoutMillis: 10000, catchUpTimeoutMillis: -1, catchUpTakeoverDelayMillis: 30000, getLastErrorModes: {}, getLastErrorDefaults: { w: 1, wtimeout: 0 }, replicaSetId: ObjectId('5ed8dbd311e635ef4886958b') } }
2020-06-04T13:35:43.959+0200 I  REPL     [replexec-0] This node is localhost:27020 in the config
2020-06-04T13:35:43.959+0200 I  REPL     [replexec-0] transition to ARBITER from STARTUP

Tested in v4.2 but probably applies to all recent versions.

Maybe a change to "Each data-bearing member of a replica set enters..." would be sufficient.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

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



 Comments   
Comment by Githook User [ 04/Jun/20 ]

Author:

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

Message: DOCS-13688: repl stage following startup for arbiters
Branch: v4.0
https://github.com/mongodb/docs/commit/385e89e2042193e0bc40b91856511fe60703ccad

Comment by Githook User [ 04/Jun/20 ]

Author:

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

Message: DOCS-13688: repl stage following startup for arbiters
Branch: v3.6
https://github.com/mongodb/docs/commit/5be7b144c6ccc4db195504f047147aa02391ba7c

Comment by Kay Kim (Inactive) [ 04/Jun/20 ]

Checked through v3.6.
[master]
https://github.com/mongodb/docs/commit/a7c9867d95eb66c28d638fd73d3a21c9781bd8e8
[v4.2]
https://github.com/mongodb/docs/commit/3f90b12a955b1852dba63f43f739430c13dd1a64

[v4.0]
https://github.com/mongodb/docs/commit/385e89e2042193e0bc40b91856511fe60703ccad

[v3.6]
https://github.com/mongodb/docs/commit/5be7b144c6ccc4db195504f047147aa02391ba7c

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