-
Notifications
You must be signed in to change notification settings - Fork 1.7k
DOCS-10958 networkMessageCompressors disabled by default in shell. #3083
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
You can specify the following compressors: | ||
|
||
- :term:`snappy` (Default) | ||
- :term:`snappy` | ||
|
||
- :term:`zlib` | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -707,19 +707,22 @@ description: | | |
.. versionadded:: 3.4 | ||
|
||
.. versionchanged:: 3.6 | ||
\ | ||
|
||
- Add support for :term:`zlib` compressor. | ||
- Add support for :term:`zlib` compressor. | ||
|
||
- Enabled by default. To disable, set to ``disabled``. | ||
- Enabled by default using the :term:`snappy` compressor. To | ||
disable compression, set this option to ``disabled``. | ||
|
||
Enables network compression for communication between this | ||
:program:`mongod` or :program:`mongos` instance and: | ||
|
||
- other members in the deployment, if a member of a replica set or a | ||
sharded cluster | ||
|
||
- a :program:`mongo` shell | ||
|
||
- a :program:`mongo` shell when network compression is enabled | ||
(disabled by default) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the phrase "when network compression is enabled (disabled by default)": -- unclear that you are referring to mongo shell's compression enablement |
||
|
||
- drivers that support the ``OP_COMPRESSED`` message format. | ||
|
||
.. include:: /includes/fact-networkMessageCompressors.rst | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -411,9 +411,11 @@ description: | | |
.. versionadded:: 3.4 | ||
|
||
.. versionchanged:: 3.6 | ||
\ | ||
|
||
- Add support for :term:`zlib` compressor. | ||
- Enabled by default. To disable, set to ``disabled``. | ||
|
||
- Disabled by default in the :program:`mongo` shell. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So, it was disabled in the mongo shell in 3.4. So, this probably doesn't need to be in part of the 3.6 changes |
||
|
||
Enables network compression for communication between this | ||
{{program}} shell and: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2624,9 +2624,12 @@ description: | | |
.. versionadded:: 3.4 | ||
|
||
.. versionchanged:: 3.6 | ||
\ | ||
|
||
- Add support for :term:`zlib` compressor. | ||
- Enabled by default. To disable, set to ``disabled``. | ||
- Add support for :term:`zlib` compressor. | ||
|
||
- Enabled by default using the :term:`snappy` compressor. To | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sounds like we use the snappy compressor to enable this feature. |
||
disable compression, set this option to ``disabled``. | ||
|
||
Enables network compression for communication between this | ||
{{program}} instance and: | ||
|
@@ -2637,7 +2640,8 @@ description: | | |
- other members of the sharded cluster, if the instance is part of a | ||
sharded cluster | ||
|
||
- a :program:`mongo` shell, | ||
- a :program:`mongo` shell when network compression is enabled | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as before. |
||
(disabled by default) | ||
|
||
- drivers that support the ``OP_COMPRESSED`` message format. | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -486,15 +486,22 @@ description: | | |
.. versionadded:: 3.4 | ||
|
||
.. versionchanged:: 3.6 | ||
\ | ||
|
||
Add support for :term:`zlib` compressor. | ||
- Add support for :term:`zlib` compressor. | ||
|
||
- Enabled by default using the :term:`snappy` compressor. To | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as before. |
||
disable compression, set this option to ``disabled``. | ||
|
||
Enables network compression for communication between this | ||
{{program}} instance and: | ||
|
||
- other members of the sharded cluster | ||
|
||
- a :program:`mongo` shell. | ||
- a :program:`mongo` shell when network compression is enabled | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto. |
||
(disabled by default) | ||
|
||
- drivers that support the ``OP_COMPRESSED`` message format. | ||
|
||
.. include:: /includes/fact-networkMessageCompressors.rst | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sounds like we use the snappy compressor to enable this feature.
maybe:
MongoDB enables snappy network compression for communication, by default. To disable compression ...