Skip to content

Commit 155e01c

Browse files
author
Sam Kleinman
committed
minor: unsaved file clean up
1 parent 8920483 commit 155e01c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

source/tutorial/add-shards-to-shard-cluster.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ shards. You can do this using the :dbcommand:`addShard` command:
3838

3939
db.runCommand( { addShard: mongodb0.example.net, name: "mongodb0" } )
4040

41-
Optionally you can use the :func:`sh.addShard()` helper:
41+
Or you can use the :func:`sh.addShard()` helper in the
42+
:program:`mongo` shell:
4243

4344
.. code-block:: javascript
4445

source/tutorial/deploy-shard-cluster.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ in the :program:`mongo` shell session:
122122
sh.addShard( "shard0.example.net" )
123123
sh.addShard( "shard1.example.net" )
124124

125+
.. admonition:: All shards should be replica sets.
126+
125127
.. versionchanged:: 2.0.3
126128

127129
After version 2.0.3, you may use the above form to add replica

0 commit comments

Comments
 (0)