Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions source/administration/master-slave.txt
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,10 @@ slave's :data:`local.sources` collection.
db.sources.update( { host : "prod.mississippi" }, { $set : { host : "prod.mississippi.example.net" } } )

Restart the slave with the correct command line arguments or with no
``--source`` argument. After configuring :data:`local.sources` the
:option:`--source <mongod --source>` option.
After configuring :data:`local.sources` the
first time, the :option:`--source <mongod --source>` will have no
subsequent affect. Therefore, both of the following invocations are
subsequent effect. Therefore, both of the following invocations are
correct:

.. code-block:: javascript
Expand Down
4 changes: 2 additions & 2 deletions source/includes/note-rs-conf-array-index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
When updating the replica configuration object, address all members
of the set using the index value in the array. The array index
begins with ``0``. Do not confuse this index value with the value
of the :data:`_id <members[n]._id` field in each document in the
of the :data:`_id <members[n]._id>` field in each document in the
:data:`members <rs.conf.members>` array.

The :data:`_id <members[n]._id` rarely corresponds to the array
The :data:`_id <members[n]._id>` rarely corresponds to the array
index.
2 changes: 1 addition & 1 deletion source/reference/command/copydb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ copydb

All of the following arguments are optional:

- slaveOK
- slaveOk
- username
- password
- nonce
Expand Down
4 changes: 2 additions & 2 deletions source/reference/commands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ commands called :method:`db.runCommand()`. The following operation in

Many :doc:`drivers </applications/drivers>` provide an equivalent for
the :method:`db.runCommand()` method. Internally, running commands
with :method:`db.runCommand()` is equivelent to a special query
with :method:`db.runCommand()` is equivalent to a special query
against the :term:`$cmd` collection.

Many common commands have their own shell helpers or wrappers in the
Expand Down Expand Up @@ -72,7 +72,7 @@ Failed commands return the ``ok`` field with a value of ``0``.
All of the following command descriptions, provide a document template
or prototype for each command. Some command documentation also
includes the relevant :program:`mongo` shell helpers. See
:doc:`/reference/command` for a list of all comamnds.
:doc:`/reference/command` for a list of all commands.

User Commands
-------------
Expand Down