[DOCS-7836] Clarify mongotop usage with secondaries in replica sets Created: 09/May/16  Updated: 04/Jan/23  Resolved: 11/Oct/18

Status: Closed
Project: Documentation
Component/s: tools
Affects Version/s: None
Fix Version/s: 3.3.8, 3.2.7

Type: Task Priority: Major - P3
Reporter: Chris Harris Assignee: Isabella Siu (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents TOOLS-1166 Mongotop cannot connect to secondary ... Closed
Participants:
Days since reply: 5 years, 17 weeks, 6 days ago

 Description   

The mongotop --host documentation notes the syntax for connecting to a replica set. Afterwards it states:

You can always connect directly to a single MongoDB instance by specifying the host and port number directly.

I find this information ambiguous. Especially considering this comment in TOOLS-506, I believe that a "single MongoDB instance" includes secondaries in this context (therefore mongotop should be able to connect to them if not using the replica set syntax). However, others believe that mongotop can only connect to the primary of a replica set. Output from the primary is the case when using the replica set syntax but not the behavior I would expect with the "single MongoDB instance" syntax based on my understanding (pending the results of TOOLS-1166).

The documentation should be updated to clarify what a "single MongoDB instance" means as it is leading to different interpretations of how the tool can be used with members (secondaries) of a replica set.



 Comments   
Comment by Githook User [ 11/Oct/18 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabellasiu@Isabellas-MacBook.local'}

Message: DOCS-7836 clarify --host for connecting to secondaries
Branch: v3.4
https://github.com/mongodb/docs/commit/9eca9a7a1fea2ad4c29dcb1c9ed3c3f0f92f762b

Comment by Githook User [ 11/Oct/18 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabellasiu@Isabellas-MacBook.local'}

Message: DOCS-7836 clarify --host for connecting to secondaries
Branch: v3.6
https://github.com/mongodb/docs/commit/a9401fc21f5704e8584438d0d1c144555724775a

Comment by Githook User [ 11/Oct/18 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabellasiu@Isabellas-MacBook.local'}

Message: DOCS-7836 clarify --host for connecting to secondaries
Branch: v4.0
https://github.com/mongodb/docs/commit/6a1b25650e64f47158bed24bb44362f30295e695

Comment by Githook User [ 11/Oct/18 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabellasiu@Isabellas-MacBook.local'}

Message: DOCS-7836 clarify --host for connecting to secondaries
Branch: master
https://github.com/mongodb/docs/commit/b2e5b6906f8366c18cace086bc7c2fd2bf014720

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