Skip to content

Commit 406dc9c

Browse files
author
Dave Cuthbert
authored
Docsp 25052 backport v4.2 (#1795)
* DOCSP-25052 BACKPORT * DOCSP-25052 BACKPORT
1 parent a9fb508 commit 406dc9c

12 files changed

+3
-52
lines changed

config/redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1594,6 +1594,7 @@ raw: /v2.8/release-notes/2.8-changes -> ${base}/v3.0/release-notes/3.0
15941594
[v4.2-*]: /${version}/reference/read-preference -> ${base}/${version}/core/read-preference
15951595

15961596
[v4.2-*]: ${prefix}/${version}/reference/operator/query/uniqueDocs -> ${base}/${version}/release-notes/2.6-compatibility.txt
1597+
[v4.2-*]: ${prefix}/${version}/reference/method/sh.getBalancerHost -> ${base}/${version}/reference/method/js-sharding/
15971598

15981599
# Redirects for 4.0 or earlier (i.e. before 4.2), stopping at v3.0 since otherwise to help slow the growth in the number of our redirects
15991600

source/reference/method.txt

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

10331033
- Enables sharding on a specific database.
10341034

1035-
* - :method:`sh.getBalancerHost()`
1036-
1037-
- *Deprecated since MongoDB 3.4*
1038-
10391035
* - :method:`sh.getBalancerState()`
10401036

10411037
- Returns a boolean to report if the :term:`balancer` is currently enabled.

source/reference/method/js-sharding.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ Sharding Methods
5656

5757
- Enables sharding on a specific database.
5858

59-
* - :method:`sh.getBalancerHost()`
60-
61-
- *Deprecated since MongoDB 3.4*
62-
6359
* - :method:`sh.getBalancerState()`
6460

6561
- Returns a boolean to report if the :term:`balancer` is currently enabled.
@@ -154,7 +150,6 @@ Sharding Methods
154150
/reference/method/sh.disableAutoSplit
155151
/reference/method/sh.enableAutoSplit
156152
/reference/method/sh.enableSharding
157-
/reference/method/sh.getBalancerHost
158153
/reference/method/sh.getBalancerState
159154
/reference/method/sh.removeTagRange
160155
/reference/method/sh.removeRangeFromZone

source/reference/method/sh.getBalancerHost.txt

Lines changed: 0 additions & 31 deletions
This file was deleted.

source/reference/method/sh.getBalancerState.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ sh.getBalancerState()
2424

2525
- :method:`sh.enableBalancing()`
2626
- :method:`sh.disableBalancing()`
27-
- :method:`sh.getBalancerHost()`
2827
- :method:`sh.isBalancerRunning()`
2928
- :method:`sh.setBalancerState()`
3029
- :method:`sh.startBalancer()`

source/reference/method/sh.isBalancerRunning.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ sh.isBalancerRunning()
2323

2424
- :method:`sh.enableBalancing()`
2525
- :method:`sh.disableBalancing()`
26-
- :method:`sh.getBalancerHost()`
2726
- :method:`sh.getBalancerState()`
2827
- :method:`sh.setBalancerState()`
2928
- :method:`sh.startBalancer()`

source/reference/method/sh.setBalancerState.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ Description
5757

5858
- :method:`sh.enableBalancing()`
5959
- :method:`sh.disableBalancing()`
60-
- :method:`sh.getBalancerHost()`
6160
- :method:`sh.getBalancerState()`
6261
- :method:`sh.isBalancerRunning()`
6362
- :method:`sh.startBalancer()`

source/reference/method/sh.startBalancer.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ In earlier versions, the method waited for the balancing to start.
8585

8686
- :method:`sh.enableBalancing()`
8787
- :method:`sh.disableBalancing()`
88-
- :method:`sh.getBalancerHost()`
8988
- :method:`sh.getBalancerState()`
9089
- :method:`sh.isBalancerRunning()`
9190
- :method:`sh.setBalancerState()`

source/reference/method/sh.stopBalancer.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ to complete.
8383

8484
- :method:`sh.enableBalancing()`
8585
- :method:`sh.disableBalancing()`
86-
- :method:`sh.getBalancerHost()`
8786
- :method:`sh.getBalancerState()`
8887
- :method:`sh.isBalancerRunning()`
8988
- :method:`sh.setBalancerState()`

source/reference/method/sh.waitForBalancerOff.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Definition
5050

5151
- :method:`sh.enableBalancing()`
5252
- :method:`sh.disableBalancing()`
53-
- :method:`sh.getBalancerHost()`
5453
- :method:`sh.getBalancerState()`
5554
- :method:`sh.isBalancerRunning()`
5655
- :method:`sh.setBalancerState()`

source/reference/sharding.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ Sharding Methods in the ``mongo`` Shell
5757

5858
- Enables sharding on a specific database.
5959

60-
* - :method:`sh.getBalancerHost()`
61-
62-
- *Deprecated since MongoDB 3.4*
63-
6460
* - :method:`sh.getBalancerState()`
6561

6662
- Returns a boolean to report if the :term:`balancer` is currently enabled.

source/release-notes/3.4.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,8 @@ change:
580580
- :dbcommand:`balancerStatus` command.
581581

582582
- MongoDB 3.4 deprecates :binary:`~bin.mongo` shell method
583-
:method:`sh.getBalancerHost()`. A 3.2 or earlier :binary:`~bin.mongo`
584-
shell method :method:`sh.getBalancerHost()` is incompatible with a
583+
``sh.getBalancerHost()``. A 3.2 or earlier :binary:`~bin.mongo`
584+
shell method ``sh.getBalancerHost()`` is incompatible with a
585585
3.4 sharded cluster.
586586

587587
- MongoDB 3.4 removes the following configuration options from the

0 commit comments

Comments
 (0)