[DOCS-3583] Copy-paste error in isMaster.passive description Created: 12/Jun/14  Updated: 24/Jun/14  Resolved: 24/Jun/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.7

Type: Bug Priority: Major - P3
Reporter: Jeremy Mikola Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 9 years, 34 weeks, 1 day ago

 Description   

From: http://docs.mongodb.org/manual/reference/command/isMaster/

isMaster.passives

An array of strings in the format of "hostname:port" listing all members of the replica set which have a priority of 0.

isMaster.passive

A boolean value that, when true, indicates that the current instance is hidden. The passive field is only present for hidden members.

isMaster.hidden

A boolean value that, when true, indicates that the current instance is hidden. The hidden field is only present for hidden members.

I believe the description for isMaster.passive is erroneously copy-pasted from isMaster.hidden. I'd expect it to report true if the current node has a priority of 0.

This may be something to confirm with server devs, but I expect hidden notes are inherently passive (can't be elected), but not all passive nodes are hidden. I'm not sure if the isMaster responses actually enforce that logic or if they simply read back from the replica set configuration – although I would expect a node marked hidden but with non-zero priority is probably invalid.



 Comments   
Comment by Githook User [ 24/Jun/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-3583: clarify copy and paste error in isMaster.passive
Branch: master
https://github.com/mongodb/docs/commit/69f1de77ada20ff89c1e5530e5b0bf0942cac07d

Comment by Githook User [ 24/Jun/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-3583: clarify copy and paste error in isMaster.passive
Branch: v2.4
https://github.com/mongodb/docs/commit/daa106e43484377fa407addae7fb1a584626658c

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