Skip to content

Commit 89ea659

Browse files
npentreljeff-allen-mongo
authored andcommitted
DOCS-13728 remove ServiceExecutorAdaptive
1 parent 0e2a9be commit 89ea659

File tree

5 files changed

+21
-106
lines changed

5 files changed

+21
-106
lines changed

source/reference/configuration-file-settings-command-line-options-mapping.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ and :binary:`~bin.mongos` command-line options.
6464
- | :option:`mongod --port`
6565
| :option:`mongos --port`
6666

67-
* - :setting:`net.serviceExecutor`
68-
- | :option:`mongod --serviceExecutor`
69-
| :option:`mongos --serviceExecutor`
70-
7167
* - :setting:`net.tls.allowConnectionsWithoutCertificates`
7268
- | :option:`mongod --tlsAllowConnectionsWithoutCertificates`
7369
| :option:`mongos --tlsAllowConnectionsWithoutCertificates`
@@ -484,6 +480,9 @@ and :binary:`~bin.mongos` command-line options.
484480

485481
ChangeLog
486482
---------
483+
Starting in version 5.0:
484+
MongoDB removes the ``--serviceExecutor`` command-line option and the
485+
corresponding ``net.serviceExecutor`` configuration option.
487486

488487
Starting in version 4.4:
489488
MongoDB removes the ``--noIndexBuildRetry`` command-line option and

source/reference/configuration-options.txt

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,11 @@ Core Options
832832
MongoDB 4.2 deprecates ``ssl`` options in favor of ``tls`` options with
833833
identical functionality.
834834

835+
.. versionchanged:: 5.0
836+
837+
MongoDB removes the ``net.serviceExecutor`` configuration option and the
838+
corresponding ``--serviceExecutor`` command-line option.
839+
835840
.. code-block:: yaml
836841

837842
net:
@@ -863,7 +868,6 @@ Core Options
863868
FIPSMode: <boolean>
864869
compression:
865870
compressors: <string>
866-
serviceExecutor: <string>
867871

868872
.. setting:: net.port
869873

@@ -2162,41 +2166,6 @@ Core Options
21622166
.. include:: /includes/fact-networkMessageCompressors.rst
21632167

21642168

2165-
.. setting:: net.serviceExecutor
2166-
2167-
*Type*: string
2168-
2169-
*Default*: synchronous
2170-
2171-
.. versionadded:: 3.6
2172-
2173-
Determines the threading and execution model :binary:`~bin.mongos` or :binary:`~bin.mongod` uses to
2174-
execute client requests. The ``--serviceExecutor`` option accepts one
2175-
of the following values:
2176-
2177-
.. list-table::
2178-
:header-rows: 1
2179-
:widths: 20 40
2180-
2181-
* - Value
2182-
2183-
- Description
2184-
2185-
* - ``synchronous``
2186-
2187-
- The :binary:`~bin.mongos` or :binary:`~bin.mongod` uses synchronous networking and manages its
2188-
networking thread pool on a per connection basis. Previous
2189-
versions of MongoDB managed threads in this way.
2190-
2191-
* - ``adaptive``
2192-
2193-
- The :binary:`~bin.mongos` or :binary:`~bin.mongod` uses the new experimental asynchronous
2194-
networking mode with an adaptive thread pool which manages
2195-
threads on a per request basis. This mode should have more
2196-
consistent performance and use less resources when there are
2197-
more inactive connections than database requests.
2198-
2199-
22002169
``security`` Options
22012170
~~~~~~~~~~~~~~~~~~~~
22022171

source/reference/program/mongod.txt

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ Options
5757
- MongoDB removes the ``--noIndexBuildRetry`` command-line option
5858
and the corresponding ``storage.indexBuildRetry`` option.
5959

60+
.. admonition:: Starting in version 5.0
61+
62+
- MongoDB removes the ``--serviceExecutor`` command-line option and the
63+
corresponding ``net.serviceExecutor`` configuration option.
64+
6065
Core Options
6166
~~~~~~~~~~~~
6267

@@ -773,39 +778,6 @@ Core Options
773778

774779

775780

776-
.. option:: --serviceExecutor <string>
777-
778-
*Default*: synchronous
779-
780-
.. versionadded:: 3.6
781-
782-
Determines the threading and execution model :program:`mongod` uses to
783-
execute client requests. The ``--serviceExecutor`` option accepts one
784-
of the following values:
785-
786-
.. list-table::
787-
:header-rows: 1
788-
:widths: 20 40
789-
790-
* - Value
791-
792-
- Description
793-
794-
* - ``synchronous``
795-
796-
- The :program:`mongod` uses synchronous networking and manages its
797-
networking thread pool on a per connection basis. Previous
798-
versions of MongoDB managed threads in this way.
799-
800-
* - ``adaptive``
801-
802-
- The :program:`mongod` uses the new experimental asynchronous
803-
networking mode with an adaptive thread pool which manages
804-
threads on a per request basis. This mode should have more
805-
consistent performance and use less resources when there are
806-
more inactive connections than database requests.
807-
808-
809781
.. option:: --outputConfig
810782

811783

source/reference/program/mongos.txt

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ Options
5959

6060
- .. include:: /includes/extracts/4.2-changes-options-tlsClusterCAFile.rst
6161

62+
.. admonition:: Starting in version 5.0
63+
64+
- MongoDB removes the ``--serviceExecutor`` command-line option and the
65+
corresponding ``net.serviceExecutor`` configuration option.
66+
6267
.. |tlsClusterCAFile| replace:: :option:`--tlsClusterCAFile <mongos --tlsClusterCAFile>`
6368

6469
Core Options
@@ -591,39 +596,6 @@ Core Options
591596
.. include:: /includes/fact-networkMessageCompressors.rst
592597

593598

594-
.. option:: --serviceExecutor <string>
595-
596-
*Default*: synchronous
597-
598-
.. versionadded:: 3.6
599-
600-
Determines the threading and execution model :program:`mongos` uses to
601-
execute client requests. The ``--serviceExecutor`` option accepts one
602-
of the following values:
603-
604-
.. list-table::
605-
:header-rows: 1
606-
:widths: 20 40
607-
608-
* - Value
609-
610-
- Description
611-
612-
* - ``synchronous``
613-
614-
- The :program:`mongos` uses synchronous networking and manages its
615-
networking thread pool on a per connection basis. Previous
616-
versions of MongoDB managed threads in this way.
617-
618-
* - ``adaptive``
619-
620-
- The :program:`mongos` uses the new experimental asynchronous
621-
networking mode with an adaptive thread pool which manages
622-
threads on a per request basis. This mode should have more
623-
consistent performance and use less resources when there are
624-
more inactive connections than database requests.
625-
626-
627599
.. option:: --timeZoneInfo <path>
628600

629601
.. include:: /includes/fact-timeZoneInfo.rst

source/release-notes/5.0-compatibility.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ General Changes
6767
stages </reference/operator/aggregation-pipeline>` allowed in a single
6868
pipeline is limited to 1000.
6969

70+
- MongoDB 5.0 removes the ``--serviceExecutor`` command-line option and
71+
the corresponding ``net.serviceExecutor`` configuration option.
72+
7073
Deprecations
7174
~~~~~~~~~~~~
7275

0 commit comments

Comments
 (0)