Skip to content

Commit a5a839d

Browse files
author
Sam Kleinman
committed
merge: DOCS-947
2 parents 03cc3d8 + 73d8c19 commit a5a839d

File tree

3 files changed

+22
-14
lines changed

3 files changed

+22
-14
lines changed

source/core/replication-internals.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ normal operation or application development but may be useful for
1010
troubleshooting and for further understanding MongoDB's behavior and approach.
1111

1212
For additional information about the internals of replication replica
13-
sets see the following resources in the MongoDB Manual:
13+
sets see the following resources in the MongoDB Manual:
1414

1515
- :doc:`/reference/local-database`
1616
- :doc:`/reference/replica-commands`

source/core/replication.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ with filenames in the following form:
219219
.. code-block:: none
220220

221221
<database>.<collection>.<timestamp>.bson
222-
223-
For example:
222+
223+
For example:
224224

225225
.. code-block:: none
226226

@@ -238,16 +238,16 @@ that might create rollbacks.
238238
megabytes of data. If your system needs to rollback more than 300
239239
MB, you will need to manually intervene to recover this data. If
240240
this is the case, you will find the following line in your
241-
:program:`mongod` log:
242-
241+
:program:`mongod` log:
242+
243243
.. code-block:: none
244244

245245
[replica set sync] replSet syncThread: 13410 replSet too much data to roll back
246246

247247
In these situations you will need to manually intervene to either
248248
save data manually, or resync from a "current" member of the set by
249249
deleting the content of the existing:setting:`dbpath` directory to
250-
resume normal operation.
250+
resume normal operation.
251251

252252
For more information on failover, see:
253253

@@ -272,7 +272,7 @@ working with replica sets:
272272

273273
Write concern sends a MongoDB client a response from the server to
274274
confirm successful write operations. In replica sets you can
275-
configure :ref:`replica acknowledged <write-concern-replica-acknowledged>`
275+
configure :ref:`replica acknowledged <write-concern-replica-acknowledged>`
276276
write concern to ensure that secondary members of the set have
277277
replicated operations before the write returns.
278278

source/tutorial/deploy-replica-set.txt

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,23 @@ deployments require no additional members or configuration.
2727
Requirements
2828
------------
2929

30-
A replica set requires three distinct systems so that each system can run its own instance
31-
of :program:`mongod`. For development systems you can run all three
32-
instances of the :program:`mongod` process on a local system. (e.g. a
33-
laptop) or within a virtual instance. For production environments, you
34-
should endeavor to maintain as much separation between the members as possible. For
35-
example, when using VMs in Production, each member should live on
36-
separate host servers, served by redundant power circuits, and with
30+
Most replica sets consist of two or more :program:`mongod`
31+
instances. [#odd-numbered-set-sizes]_ This tutorial
32+
describes a three member set. Production environments should have at
33+
least three distinct systems so that each system can run its own
34+
instance of :program:`mongod`. For development systems you can run all three instances
35+
of the :program:`mongod` process on a local system. (e.g. a laptop) or within a virtual
36+
instance. For production environments, you should endeavor to maintain as much separation
37+
between the members as possible. For example, when using virtual
38+
machines for production deployments, each member
39+
should live on separate host servers, served by redundant power circuits, and with
3740
redundant network paths.
3841

42+
.. [#odd-numbered-set-sizes] To ensure smooth :ref:`elections
43+
<replica-set-election>` always design replica sets with odd numbers
44+
of members. Use :ref:`replica-set-arbiters` to ensure the set has
45+
odd number of voting members and avoid tied elections.
46+
3947
Procedure
4048
---------
4149

0 commit comments

Comments
 (0)