Skip to content

Commit fc3ae4e

Browse files
author
Dave
authored
DOCSP-19672 BACKPORT (#378)
1 parent 9e97be2 commit fc3ae4e

File tree

7 files changed

+10
-35
lines changed

7 files changed

+10
-35
lines changed

config/redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,7 @@ raw: /master/release-notes/3.0-general-improvements -> ${base}/release-notes/3.0
14051405
[v4.0-*]: /${version}/reference/command/authSchemaUpgrade -> ${base}/${version}/core/security-scram
14061406
[v4.0-*]: /${version}/reference/command/copydbgetnonce -> ${base}/${version}/reference/command/copydb
14071407
[v4.0-*]: /${version}/reference/command/resync -> ${base}/${version}/core/master-slave
1408+
[v4.0-*]: /${version}/reference/command/splitChunk -> ${base}/${version}/tutorial/split-chunks-in-sharded-cluster/
14081409
[v4.0-*]: /${version}/reference/program/mongoperf -> ${base}/${version}/reference/program
14091410
[v4.0-*]: /${version}/tutorial/perform-two-phase-commits -> ${base}/${version}/core/transactions
14101411
[v4.0-*]: /${version}/tutorial/install-mongodb-on-linux -> ${base}/${version}/administration/install-on-linux

source/reference/built-in-roles.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ Cluster Administration Roles
217217
- :authaction:`clearJumboFlag` (New in 4.0.15)
218218
- :authaction:`enableSharding`
219219
- :authaction:`moveChunk`
220-
- :authaction:`splitChunk`
221220
- :authaction:`splitVector`
222221

223222
On the ``config`` database, provides the following privileges:
@@ -243,7 +242,6 @@ Cluster Administration Roles
243242
| :authaction:`moveChunk`
244243
| :authaction:`planCacheRead`
245244
| :authaction:`remove`
246-
| :authaction:`splitChunk`
247245
| :authaction:`splitVector`
248246
| :authaction:`update`
249247

@@ -277,7 +275,6 @@ Cluster Administration Roles
277275
- :authaction:`insert`
278276
- :authaction:`moveChunk`
279277
- :authaction:`remove`
280-
- :authaction:`splitChunk`
281278
- :authaction:`splitVector`
282279
- :authaction:`update`
283280

source/reference/command.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -562,10 +562,6 @@ Sharding Commands
562562

563563
- Creates a new :term:`chunk`.
564564

565-
* - :dbcommand:`splitChunk`
566-
567-
- Internal command to split chunk. Instead use the methods :method:`sh.splitFind()` and :method:`sh.splitAt()`.
568-
569565
* - :dbcommand:`splitVector`
570566

571567
- Internal command that determines split points.

source/reference/command/mergeChunks.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,15 @@ The :dbcommand:`mergeChunks` command takes the following fields:
7171

7272
- array
7373

74-
- An array that contains the minimum and maximum key values of the new
75-
chunk.
74+
- An array that contains the minimum and maximum key values of the
75+
new chunk.
7676

7777

7878
Access Control
7979
--------------
8080

8181
On deployments running with :setting:`~security.authorization`, the
82-
user must have access that includes the following privileges:
83-
84-
- :authaction:`splitChunk` action on the collection.
85-
86-
The built-in role :authrole:`clusterManager` provides the required
82+
built-in role :authrole:`clusterManager` provides the required
8783
privileges.
8884

8985
Behavior

source/reference/command/nav-sharding.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@ Sharding Commands
116116

117117
- Creates a new :term:`chunk`.
118118

119-
* - :dbcommand:`splitChunk`
120-
121-
- Internal command to split chunk. Instead use the methods :method:`sh.splitFind()` and :method:`sh.splitAt()`.
122-
123119
* - :dbcommand:`splitVector`
124120

125121
- Internal command that determines split points.
@@ -161,7 +157,6 @@ Sharding Commands
161157
/reference/command/shardCollection
162158
/reference/command/shardingState
163159
/reference/command/split
164-
/reference/command/splitChunk
165160
/reference/command/splitVector
166161
/reference/command/unsetSharding
167162
/reference/command/updateZoneKeyRange

source/reference/privilege-actions.txt

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -555,10 +555,10 @@ Sharding Actions
555555

556556
.. authaction:: moveChunk
557557

558-
User can perform the :dbcommand:`moveChunk` command. In addition, user
559-
can perform the :dbcommand:`movePrimary` command provided that the privilege
560-
is applied to an appropriate database resource. Apply this action to database
561-
or collection resources.
558+
User can perform the :dbcommand:`moveChunk` command. In addition,
559+
user can perform the :dbcommand:`movePrimary` command provided that
560+
the privilege is applied to an appropriate database resource. Apply
561+
this action to database or collection resources.
562562

563563
.. authaction:: removeShard
564564

@@ -570,16 +570,10 @@ Sharding Actions
570570
User can perform the :dbcommand:`shardingState` command. Apply this
571571
action to the ``cluster`` resource.
572572

573-
.. authaction:: splitChunk
574-
575-
User can perform the :dbcommand:`splitChunk` command and the
576-
:dbcommand:`mergeChunks` command. Apply this action to database or
577-
collection resources.
578-
579573
.. authaction:: splitVector
580574

581-
User can perform the :dbcommand:`splitVector` command. Apply this action to
582-
database or collection resources.
575+
User can perform the :dbcommand:`splitVector` command. Apply this
576+
action to database or collection resources.
583577

584578
Server Administration Actions
585579
-----------------------------

source/reference/sharding.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@ The following database commands support :term:`sharded clusters
252252

253253
- Creates a new :term:`chunk`.
254254

255-
* - :dbcommand:`splitChunk`
256-
257-
- Internal command to split chunk. Instead use the methods :method:`sh.splitFind()` and :method:`sh.splitAt()`.
258-
259255
* - :dbcommand:`splitVector`
260256

261257
- Internal command that determines split points.

0 commit comments

Comments
 (0)