Skip to content

Commit 8c0b5e5

Browse files
committed
DOCSP-12599: [MONGOSH] Remove shards/tags methods
1 parent 05ddedb commit 8c0b5e5

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

source/reference/methods.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,25 @@ Sharding Methods
10761076

10771077
- Enables sharding on a specific database.
10781078

1079+
* - :method:`sh.removeRangeFromZone()`
1080+
1081+
- Removes the association between a range of shard key values and a
1082+
:term:`zone`.
1083+
1084+
* - :dbcommand:`sh.removeShardFromZone`
1085+
1086+
- Removes the association between a shard and a :term:`zone`.
1087+
1088+
* - :method:`sh.removeShardTag()`
1089+
1090+
- Removes the association between a tag and a shard.
1091+
1092+
* - :method:`sh.removeTagRange()`
1093+
1094+
- Removes a range of shard key values to a shard tag created using
1095+
the :method:`sh.addShardTag()` method. This method aliases to
1096+
:method:`sh.removeRangeFromZone()` in MongoDB 3.4.
1097+
10791098
* - :method:`sh.shardCollection()`
10801099

10811100
- Enables sharding for a collection.

0 commit comments

Comments
 (0)