Skip to content

Commit a052215

Browse files
author
Sam Kleinman
committed
merge: minor corrections
2 parents 0c7e2c8 + a955475 commit a052215

11 files changed

+31
-31
lines changed

source/administration/replica-sets.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ configurations.
5454

5555
.. warning::
5656

57-
The :method:`rs.reconfig()` shell command can force the current
57+
The :method:`rs.reconfig()` shell method can force the current
5858
primary to step down, which causes an :ref:`election <replica-set-elections>`. When the primary
5959
steps down, the :program:`mongod` closes all client
6060
connections. While, this typically takes 10-20 seconds, attempt to
@@ -102,7 +102,7 @@ replica set. Use the following sequence of operations in the
102102
cfg.members[3].priority = 2
103103
rs.reconfig(cfg)
104104

105-
This configures the set, with the following priority settings:
105+
This configures the set, with the following priority settings:
106106

107107
- The first (i.e. )Member ``0`` to a priority of ``0`` so that it can never become :term:`primary`.
108108

@@ -169,7 +169,7 @@ not advertise the hidden member in the :dbcommand:`isMaster` or
169169
that *can* become :term:`primary`. In the above example, if you
170170
issue the :method:`rs.reconfig()` operation to a member with a
171171
:data:`priority <members.[n].priority>` of ``0`` the operation will
172-
fail.
172+
fail.
173173

174174
.. note::
175175

@@ -722,7 +722,7 @@ shell connected to the replica set's :term:`primary`. For descriptions
722722
of the information displayed by :method:`rs.status()`, see
723723
:doc:`/reference/replica-status`.
724724

725-
.. note::
725+
.. note::
726726

727727
The :method:`rs.status()` method is a wrapper that runs the
728728
:dbcommand:`replSetGetStatus` database command.
@@ -758,7 +758,7 @@ To check the current length of replication lag:
758758
syncedTo: Tue Oct 02 2012 11:33:40 GMT-0400 (EDT)
759759
= 7475 secs ago (2.08hrs)
760760

761-
.. note::
761+
.. note::
762762

763763
The :method:`rs.status()` method is a wrapper around the
764764
:dbcommand:`replSetGetStatus` database command.
@@ -962,7 +962,7 @@ operational errors:
962962
In many senses, :ref:`rollbacks <replica-set-rollbacks>` represent a
963963
graceful recovery from an impossible failover and recovery situation.
964964

965-
Rollbacks occur when
965+
Rollbacks occur when
966966
a primary accepts writes that other members of
967967
the set do not successfully replicate before the primary steps
968968
down. When the former primary begins replicating again it performs a

source/administration/sharding-architectures.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ created subsequently, may reside on any shard in the cluster.
106106
.. [#sharding-databases] As you configure sharding, you will use the
107107
:dbcommand:`enableSharding` command to enable sharding for a
108108
database. This simply makes it possible to use the
109-
:dbcommand:`shardCollection` on a collection within that database.
109+
:dbcommand:`shardCollection` command on a collection within that database.
110110

111111
.. [#overloaded-primary-term] The term "primary" in the context of
112112
databases and sharding, has nothing to do with the term

source/administration/sharding.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ procedure:
236236
.. optional::
237237

238238
You may specify a "name" as an argument to the
239-
:dbcommand:`addShard`, as follows:
239+
:dbcommand:`addShard` command, as follows:
240240

241241
.. code-block:: javascript
242242

@@ -323,7 +323,7 @@ The procedure to remove a shard is as follows:
323323

324324
#. View progress of the migration.
325325

326-
You can run the :dbcommand:`removeShard` again at any stage of the
326+
You can run the :dbcommand:`removeShard` command again at any stage of the
327327
process to view the progress of the migration, as follows:
328328

329329
.. code-block:: javascript
@@ -360,7 +360,7 @@ The procedure to remove a shard is as follows:
360360

361361
.. warning::
362362

363-
Do not run the :dbcommand:`movePrimary` until you have *finished*
363+
Do not run the :dbcommand:`movePrimary` command until you have *finished*
364364
draining the shard.
365365

366366
The command will not return until MongoDB completes moving all

source/core/sharding-internals.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Shard Key Indexes
267267
All sharded collections **must** have an index that starts with the
268268
:term:`shard key`. If you shard a collection that does not yet contain
269269
documents and *without* such an index, the :dbcommand:`shardCollection`
270-
will create an index on the shard key. If the collection already
270+
command will create an index on the shard key. If the collection already
271271
contains documents, you must create an appropriate index before using
272272
:dbcommand:`shardCollection`.
273273

source/reference/collection-statistics.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Or:
4848
Example Document
4949
----------------
5050

51-
The output of :method:`db.collection.stats()` resembles the following:
51+
The output of :method:`db.collection.stats()` resembles the following:
5252

5353
.. code-block:: javascript
5454

@@ -115,13 +115,13 @@ Fields
115115

116116
The number of indexes on the collection. All collections have at
117117
least one index on the :term:`_id` field.
118-
118+
119119
.. versionchanged:: 2.2
120120
Before 2.2, capped collections did not necessarily have an
121121
index on the ``_id`` field, and some capped collections created
122122
with pre-2.2 versions of :program:`mongod` may not have an
123123
``_id`` index.
124-
124+
125125

126126
.. stats:: lastExtentSize
127127

@@ -161,7 +161,7 @@ Fields
161161
Reports the flags on this collection set by the user. In version
162162
2.2 the only user flag is ``usePowerOf2Sizes``.
163163

164-
See :dbcommand:`collMod` for more information on setting user
164+
See the :dbcommand:`collMod` command for more information on setting user
165165
flags and :ref:`usePowerOf2Sizes <usePowerOf2Sizes>`.
166166

167167
.. stats:: totalIndexSize

source/reference/command/reIndex.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ reIndex
1414
{ reIndex: "collection" }
1515

1616
Normally, MongoDB compacts indexes during routine updates. For most
17-
users, the :dbcommand:`reIndex` is unnecessary. However, it may be worth
18-
running if the collection size has changed significantly or if the
19-
indexes are consuming a disproportionate amount of disk space.
17+
users, the :dbcommand:`reIndex` command is unnecessary. However, it
18+
may be worth running if the collection size has changed significantly
19+
or if the indexes are consuming a disproportionate amount of disk space.
2020

2121
Note that the :dbcommand:`reIndex` command will block the server against
2222
writes and may take a long time for large collections.

source/reference/command/renameCollection.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ renameCollection
2020
The ``dropTarget`` argument is optional.
2121

2222
If you specify a collection to the ``to`` argument in a different database, the
23-
:dbcommand:`renameCollection` will copy the collection to the new
23+
:dbcommand:`renameCollection` command will copy the collection to the new
2424
database and then drop the source collection.
2525

2626
:param source-namespace:

source/reference/mongod.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ Options
5454
.. option:: --quiet
5555

5656
Runs the :program:`mongod` instance in a quiet mode that attempts to limit
57-
the amount of output. This option suppresses:
58-
57+
the amount of output. This option suppresses:
58+
5959
- output from :term:`database commands <database command>`,
6060
including :dbcommand:`drop`, :dbcommand:`dropIndexes`,
6161
:dbcommand:`diagLogging`, :dbcommand:`validate`, and
@@ -353,7 +353,7 @@ Options
353353
.. option:: --repair
354354

355355
Runs a repair routine on all databases. This is equivalent
356-
to shutting down and running :dbcommand:`repairDatabase` database
356+
to shutting down and running the :dbcommand:`repairDatabase` database
357357
command on all databases.
358358

359359
.. include:: /includes/warning-repair.rst
@@ -385,7 +385,7 @@ Options
385385
option. The database logs all slow queries to the log, even when
386386
the profiler is not turned on. When the database profiler is on,
387387
:program:`mongod` the profiler writes to the ``system.profile``
388-
collection. See :dbcommand:`profile` for more information on the
388+
collection. See the :dbcommand:`profile` command for more information on the
389389
database profiler.
390390

391391
.. option:: --smallfiles
@@ -583,9 +583,9 @@ Sharding Cluster Options
583583
.. option:: --noMoveParanoia
584584

585585
Disables a "paranoid mode" for data writes for chunk migration
586-
operation. See the :ref:`chunk migration
587-
<sharding-chunk-migration>` and :dbcommand:`moveChunk` command
588-
documentation for more information.
586+
operation. See the
587+
:ref:`chunk migration <sharding-chunk-migration>`
588+
and :dbcommand:`moveChunk` command documentation for more information.
589589

590590
By default :program:`mongod` will save copies of migrated chunks on
591591
the "from" server during migrations as "paranoid mode." Setting

source/reference/replica-configuration.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ use the following form:
383383

384384
.. note::
385385

386-
The :method:`rs.reconfig()` shell command can force the current
386+
The :method:`rs.reconfig()` shell method can force the current
387387
primary to step down and causes an election in some
388388
situations. When the primary steps down, all clients will
389389
disconnect. This is by design. While this typically takes 10-20

source/tutorial/deploy-geographically-distributed-replica-set.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ To deploy a geographically distributed three-member set:
215215

216216
.. note::
217217

218-
In some situations, the :method:`rs.reconfig()` shell command
218+
In some situations, the :method:`rs.reconfig()` shell method
219219
can force the current primary to step down and causes an
220220
election. When the primary steps down, all clients will
221221
disconnect. This is the intended behavior. While, this
@@ -417,7 +417,7 @@ To deploy a geographically distributed four-member set:
417417

418418
.. note::
419419

420-
In some situations, the :method:`rs.reconfig()` shell command
420+
In some situations, the :method:`rs.reconfig()` shell method
421421
can force the current primary to step down and causes an
422422
election. When the primary steps down, all clients will
423423
disconnect. This is the intended behavior. While, this

0 commit comments

Comments
 (0)