Skip to content

Commit 8eb337d

Browse files
author
Dave Cuthbert
authored
Docsp 25052 backport v4.4 (#1794)
* DOCSP-25052 BACKPORT * DOCSP-25052 BACKPORT
1 parent 73b9e4d commit 8eb337d

12 files changed

+3
-52
lines changed

config/redirects

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

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

16031604
# 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
16041605

source/reference/method.txt

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

10231023
- Enables sharding on a specific database.
10241024

1025-
* - :method:`sh.getBalancerHost()`
1026-
1027-
- *Deprecated since MongoDB 3.4*
1028-
10291025
* - :method:`sh.getBalancerState()`
10301026

10311027
- 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
@@ -63,10 +63,6 @@ Sharding Methods
6363

6464
- Enables sharding on a specific database.
6565

66-
* - :method:`sh.getBalancerHost()`
67-
68-
- *Deprecated since MongoDB 3.4*
69-
7066
* - :method:`sh.getBalancerState()`
7167

7268
- Returns a boolean to report if the :term:`balancer` is currently enabled.
@@ -162,7 +158,6 @@ Sharding Methods
162158
/reference/method/sh.disableAutoSplit
163159
/reference/method/sh.enableAutoSplit
164160
/reference/method/sh.enableSharding
165-
/reference/method/sh.getBalancerHost
166161
/reference/method/sh.getBalancerState
167162
/reference/method/sh.removeTagRange
168163
/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
@@ -64,10 +64,6 @@ Sharding Methods in the ``mongo`` Shell
6464

6565
- Enables sharding on a specific database.
6666

67-
* - :method:`sh.getBalancerHost()`
68-
69-
- *Deprecated since MongoDB 3.4*
70-
7167
* - :method:`sh.getBalancerState()`
7268

7369
- 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)