[SERVER-35485] Mongo Shell does not accept compressors connection string argument Created: 07/Jun/18  Updated: 29/Oct/23  Resolved: 25/Oct/18

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 3.6.5, 4.0.0-rc1
Fix Version/s: 3.6.10, 4.0.5, 4.1.5

Type: Bug Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Tyler Kaye
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-12177 Docs for SERVER-35485: Mongo Shell do... Closed
Backwards Compatibility: Minor Change
Operating System: ALL
Backport Requested:
v4.0, v3.6
Steps To Reproduce:
  1. Start mongod with compression.
  2. Connect the mongo shell using a URI containing compressors=snappy.
  3. Run db.serverStatus and observe that network.compression.snappy.compressor.bytesIn is zero.
  4. Quit the shell
  5. Connect the mongo shell using --networkMessageCompressors=snappy.
  6. Run db.serverStatus and observe the network.compression.snappy.compressor.bytesIn is non-zero.
Sprint: Service Arch 2018-10-22, Service Arch 2018-11-05
Participants:

 Description   

When using a connection string URI with the compressors URI option, the mongo shell does not connect to the server with compressor. The mongo shell will connect with compression when the networkMessageCompressors flag is used.



 Comments   
Comment by Githook User [ 19/Nov/18 ]

Author:

{'name': 'Tyler Kaye', 'email': 'tyler.kaye@mongodb.com', 'username': 'tkaye407'}

Message: SERVER-35485 Add compressor capabilities for shell with URI input

(cherry picked from commit 757e3b97544faeda812ba9292eab2d79ecffec72)
Branch: v3.6
https://github.com/mongodb/mongo/commit/7d74635a9b2f0dc01b0ace0528641afca38bae21

Comment by Githook User [ 19/Nov/18 ]

Author:

{'name': 'Tyler Kaye', 'email': 'tyler.kaye@mongodb.com', 'username': 'tkaye407'}

Message: SERVER-35485 Add compressor capabilities for shell with URI input

(cherry picked from commit 89be4dc58287f6f2fb389a5aaee4423bdd8d97e3)
Branch: v4.0
https://github.com/mongodb/mongo/commit/38200cf8dca682c1a8dc772b0cb0d8017b0d1668

Comment by Githook User [ 25/Oct/18 ]

Author:

{'name': 'Tyler Kaye', 'email': 'tyler.kaye@mongodb.com', 'username': 'tkaye407'}

Message: SERVER-35485 Add compressor capabilities for shell with URI input
Branch: master
https://github.com/mongodb/mongo/commit/89be4dc58287f6f2fb389a5aaee4423bdd8d97e3

Generated at Thu Feb 08 04:39:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.