Skip to content

Commit 4ac3f9e

Browse files
jason-price-mongodbandf-mongodb
authored andcommitted
DOCSP-13083 Remove unused sharding commands
1 parent 7687431 commit 4ac3f9e

File tree

13 files changed

+36
-26
lines changed

13 files changed

+36
-26
lines changed

draft/commands-locks.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ command>` in MongoDB.
325325
-
326326
-
327327
-
328-
* - :dbcommand:`resetError`
328+
* - :dbcommand:`resetError` (*Removed in MongoDB 5.0*)
329329
-
330330
-
331331
-
@@ -369,7 +369,7 @@ command>` in MongoDB.
369369
-
370370
-
371371
-
372-
* - :dbcommand:`unsetSharding`
372+
* - :dbcommand:`unsetSharding` (*Removed in MongoDB 5.0*)
373373
-
374374
-
375375
-

source/reference/command.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Query and Write Operation Commands
135135

136136
* - :dbcommand:`resetError`
137137

138-
- *Deprecated*. Resets the last error status.
138+
- *Removed in MongoDB 5.0.* Resets the last error status.
139139

140140
* - :dbcommand:`update`
141141

@@ -538,8 +538,8 @@ Sharding Commands
538538

539539
* - :dbcommand:`unsetSharding`
540540

541-
- *Deprecated*. Internal command that affects connections between instances in a
542-
MongoDB deployment.
541+
- *Removed in MongoDB 5.0.* Internal command that affects
542+
connections between instances in a MongoDB deployment.
543543

544544
* - :dbcommand:`updateZoneKeyRange`
545545

@@ -828,7 +828,7 @@ Diagnostic Commands
828828

829829
* - :dbcommand:`shardConnPoolStats`
830830

831-
- *Deprecated in 4.4 Use :dbcommand:`connPoolStats` instead.*
831+
- *Removed in MongoDB 5.0.* Use :dbcommand:`connPoolStats` instead.
832832

833833
Reports statistics on a :binary:`~bin.mongos`'s connection pool for client
834834
operations against shards.

source/reference/command/nav-crud.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Query and Write Operation Commands
4646

4747
* - :dbcommand:`resetError`
4848

49-
- *Deprecated*. Resets the last error status.
49+
- *Removed in MongoDB 5.0.* Resets the last error status.
5050

5151
* - :dbcommand:`update`
5252

source/reference/command/nav-sharding.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ Sharding Commands
140140

141141
* - :dbcommand:`unsetSharding`
142142

143-
- *Deprecated*. Internal command that affects connections between instances in a
144-
MongoDB deployment.
143+
- *Removed in MongoDB 5.0.* Internal command that affects
144+
connections between instances in a MongoDB deployment.
145145

146146
* - :dbcommand:`updateZoneKeyRange`
147147

source/reference/command/resetError.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ resetError
1212

1313
.. dbcommand:: resetError
1414

15-
*Deprecated*
15+
*Removed in MongoDB 5.0.*
1616

1717
The :dbcommand:`resetError` command resets the last error status.
1818

19-
.. seealso:: :method:`db.resetError()`
19+
.. seealso:: :method:`db.resetError()` (*also removed in MongoDB
20+
5.0*)

source/reference/command/shardConnPoolStats.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Definition
1717

1818
.. dbcommand:: shardConnPoolStats
1919

20-
.. deprecated:: 4.4 Use :dbcommand:`connPoolStats` instead.
20+
*Removed in MongoDB 5.0.* Use :dbcommand:`connPoolStats` instead.
2121

2222
Returns information on the pooled and cached connections in the sharded
2323
connection pool. The command also returns information on the per-thread

source/reference/command/unsetSharding.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ unsetSharding
1212

1313
.. dbcommand:: unsetSharding
1414

15-
.. deprecated:: 4.4
15+
*Removed in MongoDB 5.0.*
1616

17-
:dbcommand:`unsetSharding` is an internal command that supports sharding
18-
functionality.
17+
:dbcommand:`unsetSharding` is an internal command that supports
18+
sharding functionality.
1919

2020
.. slave-ok, admin-only

source/reference/method.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ Database
538538

539539
* - :method:`db.resetError()`
540540

541-
- *Deprecated*. Resets the last error status.
541+
- *Removed in MongoDB 5.0.* Resets the last error status.
542542

543543
* - :method:`db.runCommand()`
544544

source/reference/method/db.resetError.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ db.resetError()
1212

1313
.. method:: db.resetError()
1414

15-
.. deprecated:: 1.6
15+
*Removed in MongoDB 5.0.*
1616

17-
Provides a wrapper around the
18-
:dbcommand:`resetError` command.
17+
Provides a wrapper around the :dbcommand:`resetError` command
18+
(*also removed in MongoDB 5.0*).

source/reference/method/js-database.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Database Methods
158158

159159
* - :method:`db.resetError()`
160160

161-
- *Deprecated*. Resets the last error status.
161+
- *Removed in MongoDB 5.0.* Resets the last error status.
162162

163163
* - :method:`db.runCommand()`
164164

0 commit comments

Comments
 (0)