Skip to content

Commit 4d71cc5

Browse files
author
Dave Cuthbert
authored
Docsp 25052 backport v5.0 (#1793)
* DOCSP-25052 BACKPORT * DOCSP-25052 BACKPORT
1 parent bf01f9c commit 4d71cc5

12 files changed

+3
-52
lines changed

config/redirects

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

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

16011602
# 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
16021603

source/reference/method.txt

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

987987
- Enables sharding on a specific database.
988988

989-
* - :method:`sh.getBalancerHost()`
990-
991-
- *Deprecated since MongoDB 3.4*
992-
993989
* - :method:`sh.getBalancerState()`
994990

995991
- 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
@@ -76,10 +76,6 @@ Sharding Methods
7676

7777
- Enables sharding on a specific database.
7878

79-
* - :method:`sh.getBalancerHost()`
80-
81-
- *Deprecated since MongoDB 3.4*
82-
8379
* - :method:`sh.getBalancerState()`
8480

8581
- Returns a boolean to report if the :term:`balancer` is currently enabled.
@@ -184,7 +180,6 @@ Sharding Methods
184180
/reference/method/sh.disableAutoSplit
185181
/reference/method/sh.enableAutoSplit
186182
/reference/method/sh.enableSharding
187-
/reference/method/sh.getBalancerHost
188183
/reference/method/sh.getBalancerState
189184
/reference/method/sh.removeTagRange
190185
/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
@@ -53,7 +53,6 @@ Description
5353

5454
- :method:`sh.enableBalancing()`
5555
- :method:`sh.disableBalancing()`
56-
- :method:`sh.getBalancerHost()`
5756
- :method:`sh.getBalancerState()`
5857
- :method:`sh.isBalancerRunning()`
5958
- :method:`sh.startBalancer()`

source/reference/method/sh.startBalancer.txt

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

8585
- :method:`sh.enableBalancing()`
8686
- :method:`sh.disableBalancing()`
87-
- :method:`sh.getBalancerHost()`
8887
- :method:`sh.getBalancerState()`
8988
- :method:`sh.isBalancerRunning()`
9089
- :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
@@ -46,7 +46,6 @@ Definition
4646

4747
- :method:`sh.enableBalancing()`
4848
- :method:`sh.disableBalancing()`
49-
- :method:`sh.getBalancerHost()`
5049
- :method:`sh.getBalancerState()`
5150
- :method:`sh.isBalancerRunning()`
5251
- :method:`sh.setBalancerState()`

source/reference/sharding.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ Sharding Methods in ``mongosh``
7777

7878
- Enables sharding on a specific database.
7979

80-
* - :method:`sh.getBalancerHost()`
81-
82-
- *Deprecated since MongoDB 3.4*
83-
8480
* - :method:`sh.getBalancerState()`
8581

8682
- 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
@@ -576,8 +576,8 @@ change:
576576
- :dbcommand:`balancerStatus` command.
577577

578578
- MongoDB 3.4 deprecates :binary:`~bin.mongo` shell method
579-
:method:`sh.getBalancerHost()`. A 3.2 or earlier :binary:`~bin.mongo`
580-
shell method :method:`sh.getBalancerHost()` is incompatible with a
579+
``sh.getBalancerHost()``. A 3.2 or earlier :binary:`~bin.mongo`
580+
shell method ``sh.getBalancerHost()`` is incompatible with a
581581
3.4 sharded cluster.
582582

583583
- MongoDB 3.4 removes the following configuration options from the

0 commit comments

Comments
 (0)