Skip to content

Commit 32a2fef

Browse files
authored
remove connPoolMaxShardedConnsPerHost from 5.0+ (#6053) (#6220)
* remove connPoolMaxShardedConnsPerHost from 5.0+ * three other parameters were also removed * add other removed params to deprecated list * remove file and folder that have not been used by the platform for 10 years
1 parent 9ebd0e6 commit 32a2fef

File tree

2 files changed

+22
-63
lines changed

2 files changed

+22
-63
lines changed

source/includes/5.0-changes/removed-parameters.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,19 @@ MongoDB 5.0 removes the following server parameters:
2020
parameter. In 5.0+, collection and index creation inside of
2121
transactions is always enabled. You can no longer use the server
2222
parameter to disable this behavior.
23+
24+
* - ``connPoolMaxShardedConnsPerHost``
25+
26+
- MongoDB 5.0 removes the ``connPoolMaxShardedConnsPerHost`` server
27+
parameter.
28+
29+
* - ``connPoolMaxShardedInUseConnsPerHost``
30+
31+
- MongoDB 5.0 removes the ``connPoolMaxShardedInUseConnsPerHost`` server
32+
parameter.
33+
34+
* - ``shardedConnPoolIdleTimeoutMinutes``
35+
36+
- MongoDB 5.0 removes the ``shardedConnPoolIdleTimeoutMinutes`` server
37+
parameter.
38+

source/reference/parameters.txt

Lines changed: 6 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,74 +1122,21 @@ General Parameters
11221122
}
11231123
)
11241124

1125-
.. parameter:: connPoolMaxShardedConnsPerHost
1126-
1127-
*Default*: 200
1128-
1129-
|both|
1130-
1131-
Sets the maximum size of the legacy connection pools for communication to the
1132-
shards. The size of a pool does not prevent the creation of
1133-
additional connections, but *does* prevent the connection pools from
1134-
retaining connections above this limit.
1135-
1136-
.. note::
1137-
1138-
The parameter is separate from the connections in TaskExecutor
1139-
pools. See :parameter:`ShardingTaskExecutorPoolMaxSize`.
1140-
1141-
Increase the :parameter:`connPoolMaxShardedConnsPerHost` value
1142-
**only** if the number of connections in a connection pool has a
1143-
high level of churn or if the total number of created connections
1144-
increase.
1145-
1146-
You can only set :parameter:`connPoolMaxShardedConnsPerHost` during
1147-
startup in the config file or on the command line. For example:
1148-
1149-
.. code-block:: bash
1150-
1151-
mongos --setParameter connPoolMaxShardedConnsPerHost=250
1152-
1153-
1154-
.. parameter:: connPoolMaxShardedInUseConnsPerHost
1155-
1156-
|both|
1157-
1158-
Sets the maximum number of in-use connections at any given time for
1159-
the legacy sharded cluster connection pools.
1160-
1161-
By default, the parameter is unset.
1162-
1163-
You can only set :parameter:`connPoolMaxShardedConnsPerHost` during
1164-
startup in the config file or on the command line. For example:
1165-
1166-
.. code-block:: bash
1167-
1168-
mongos --setParameter connPoolMaxShardedInUseConnsPerHost=100
1169-
1170-
.. seealso::
1171-
1172-
:parameter:`connPoolMaxShardedConnsPerHost`
1173-
1174-
.. parameter:: shardedConnPoolIdleTimeoutMinutes
1125+
.. parameter:: httpVerboseLogging
11751126

11761127
|both|
1177-
1178-
Sets the time limit that a connection in the legacy sharded cluster
1179-
connection pool can remain idle before being closed.
1180-
1128+
1129+
Adds more verbose tracing for curl on Linux and macOS. Has no affect on Windows.
1130+
11811131
By default, the parameter is unset.
11821132

1183-
You can only set :parameter:`shardedConnPoolIdleTimeoutMinutes` during
1133+
You can only set ``httpVerboseLogging`` during
11841134
startup in the config file or on the command line. For example:
11851135

11861136
.. code-block:: bash
11871137

1188-
mongos --setParameter shardedConnPoolIdleTimeoutMinutes=10
1138+
mongos --setParameter httpVerboseLogging=true
11891139

1190-
.. seealso::
1191-
1192-
:parameter:`connPoolMaxShardedConnsPerHost`
11931140

11941141
.. parameter:: connPoolMaxConnsPerHost
11951142

@@ -1257,10 +1204,6 @@ General Parameters
12571204

12581205
mongos --setParameter globalConnPoolIdleTimeoutMinutes=10
12591206

1260-
.. seealso::
1261-
1262-
:parameter:`connPoolMaxShardedConnsPerHost`
1263-
12641207
.. parameter:: cursorTimeoutMillis
12651208

12661209
*Default*: 600000 (10 minutes)

0 commit comments

Comments
 (0)