Skip to content

Commit 4cfb952

Browse files
author
Ed Costello
committed
DOCS-120 Copy edits and some markup cleanup
1 parent 410ccd6 commit 4cfb952

File tree

5 files changed

+20
-37
lines changed

5 files changed

+20
-37
lines changed

draft/multi-data-center-awareness.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ or a secondary or the *nearest* MongoDB instance in the current topology
3636
of the network.
3737

3838
Write concerns control how durable the replication of your data is,
39-
from **fire and forget** to insurance that at least one replica set member
39+
from insurance that at least one replica set member
4040
has the data through assurance that a majority or all members of a
4141
replica set have copies of the data.
4242
The MongoDB write concern is not comparable to a transaction, it controls

source/applications/replication.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ The :data:`~local.system.replset.settings.getLastErrorDefaults` setting affects
8888
<replica-set-failover>`. Always ensure that your operations have
8989
specified the required write concern for your application.
9090

91-
.. seealso::
92-
93-
* :ref:`write-operations-write-concern`
94-
* :ref:`connections-write-concern`
91+
.. seealso:: :ref:`write-operations-write-concern`, :ref:`connections-write-concern`
9592

9693
.. index:: read preference
9794
.. index:: slaveOk

source/reference/method/sh.addShardTag.txt

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,27 @@ sh.addShardTag()
1616

1717
:method:`sh.addShardTag()` associates a shard with a tag or
1818
identifier.
19-
MongoDB can use these identifiers to direct :term:`chunks <chunk>`
20-
which fall within a tagged range to a specific shard.
21-
Chunks are associated with a tag range using the
19+
MongoDB uses these identifiers to direct :term:`chunks <chunk>`
20+
that fall within a tagged range to specific shards.
21+
22+
Chunks are associated with a tag range using the
2223
:method:`sh.addTagRange()` method.
2324

2425
Always issue :method:`sh.addShardTag()` when connected to a
2526
:program:`mongos` instance.
2627

27-
.. warning::
28-
29-
The :program:`mongo` shell does not verify that you are
30-
connected to a :program:`mongos` instance. If you are
31-
connected to a :program:`mongod` instance, :method:`sh.addShardTag()`
32-
will add the shard tags to a collection in a ``config``
33-
database, not to the tags collection on your configuration
34-
server.
35-
3628
.. example::
3729

38-
The following example adds three tags, ``LGA``, ``EWR``, and
39-
``JFK``, to three shards:
30+
The following example adds three tags, ``NYC``, ``LAX``, and
31+
``NRT``, to three shards:
4032

4133
.. code-block:: javascript
4234

43-
sh.addShardTag("shard0000", "LGA")
44-
sh.addShardTag("shard0001", "EWR")
45-
sh.addShardTag("shard0002", "JFK")
46-
47-
.. seealso::
35+
sh.addShardTag("shard0000", "NYC")
36+
sh.addShardTag("shard0001", "LAX")
37+
sh.addShardTag("shard0002", "NRT")
4838

49-
* :method:`sh.addTagRange()`
50-
* :method:`sh.removeShardTag()`
39+
.. seealso::
5140

52-
.. TODO: SERVER-6357 will add dbcommands to replace these methods
41+
:method:`sh.addTagRange()`,
42+
:method:`sh.removeShardTag()`

source/reference/method/sh.addTagRange.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ sh.addTagRange()
3838
Always issue :method:`sh.addTagRange()` when connected to a
3939
:program:`mongos` instance.
4040

41-
.. seealso::
41+
.. seealso::
4242

43-
* :method:`sh.addShardTag()`
44-
* :method:`sh.removeShardTag()`
45-
46-
.. TODO: SERVER-6357 will add dbcommands to replace these methods
43+
:method:`sh.addShardTag()`,
44+
:method:`sh.removeShardTag()`

source/reference/method/sh.removeShardTag.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ sh.removeShardTag()
1919
Always issue :method:`sh.removeShardTag()` when connected to a
2020
:program:`mongos` instance.
2121

22-
.. seealso::
22+
.. seealso::
2323

24-
* :method:`sh.addShardTag()`
25-
* :method:`sh.addTagRange()`
26-
27-
.. TODO: SERVER-6357 will add dbcommands to replace these methods
24+
:method:`sh.addShardTag()`,
25+
:method:`sh.addTagRange()`

0 commit comments

Comments
 (0)