Skip to content

Commit a6f7bd3

Browse files
Kay Kimkay-kim
authored andcommitted
DOCS-12177: mongo shell supports compressors uri option
1 parent 689a283 commit a6f7bd3

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

source/includes/options-mongo.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,11 @@ description: |
456456
457457
.. include:: /includes/fact-networkMessageCompressors.rst
458458
459+
# Commenting out for now since observation that we don't do this for others and so readers could erroneously think only this option has a uri equivalent.
460+
# Starting in MongoDB 4.0.5 (and MongoDB 3.6.10), you can also specify
461+
# the compressors for the {{program}} shell in the uri connection
462+
# string. See :urioption:`compressors`.
463+
459464
---
460465
program: mongo
461466
name: retryWrites

source/reference/connection-string.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,9 @@ Connection Options
355355
If the parties do not share at least one common compressor,
356356
messages between the parties are uncompressed.
357357

358-
Not supported by the :binary:`~bin.mongo` shell.
359-
358+
Starting in MongoDB 4.0.5 (and MongoDB 3.6.10), the
359+
:binary:`~bin.mongo` shell supports the uri connection string
360+
option :urioption:`compressors`.
360361

361362
* - .. urioption:: zlibCompressionLevel
362363

0 commit comments

Comments
 (0)