Skip to content

Add comment about where to connect #2470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v6.1
Choose a base branch
from

Conversation

justanyone
Copy link

@justanyone justanyone commented Dec 11, 2015

All these tutorials should be self-contained and presume no info in previous tutorials.
This means that everywhere we say, "you must update this...", you need to add a
previous statement for, 'connect to this component'.

Many of customers have sharded replicasets. Saying 'first connect, then...' is too vague.
Don't presume the user knows which to connect to - primary, replica, arbiter, all 3, config
server, or mongos. Especially n00bs, don't know which thing to connect to.


This change is Reviewable

All these tutorials should be self-contained and presume no info in previous tutorials.
This means that everywhere we say, "you must update this...", you need to add a 
previous statement for, 'connect to this component'.

Many of customers have sharded replicasets.  Saying 'first connect, then...' is too vague.
Don't presume the user knows which to connect to - primary, replica, arbiter, all 3, config
server, or mongos.  Especially n00bs, don't know which thing to connect to.
@p-mongo
Copy link

p-mongo commented Feb 28, 2020

I believe existing language already covers the proposal made in this PR.

The "procedure" section starts with:

In the mongo shell, use rs.conf() to retrieve the replica set configuration and assign it to a variable. For example:

The rs.conf is linked to the shell helper documentation, which is linked to the server command. This server command as I understand it can be run on any replica set node.

The procedure continues with rs.reconfig which links to its server command documentation. This command states the requirement to run it on the primary:

You must run this command on the admin database of the primary replica set member.

The language suggested in this PR is actually incorrect - reconfiguration must be run on the primary, not on "any replica set member".

mongo-cr-bot pushed a commit that referenced this pull request Jan 31, 2023
* DOCS-15845 4.4.19 Release Notes

* top 5

* date

* BE

* changelog

* Update 4.4.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants