-
Type: Bug
-
Resolution: Won't Do
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: CLI Module
-
None
-
Not Needed
Problem Description
Steps to Reproduce
MongoDB Enterprise atlas-q8j1bk-shard-0:PRIMARY> db._adminCommand({getCmdLineOpts: 1}).parsed.net.compression
>>> { "compressors" : "snappy,zstd,zlib" }
mongosh "mongodb+srv://zstd.g3mcy.mongodb.net/?compressors=snappy" --username main_user --password bryanzelle
>>> MongoError: Optional module `snappy` not found. Please install it to enable snappy compression
Expected Results
Expect to connect to the database like what happens if you pass it a value of zlib.
mongosh "mongodb+srv://zstd.g3mcy.mongodb.net/?compressors=zlib" --username main_user --password bryanzelle
>>>
Current Mongosh Log ID: 60c2be5ca3e868168fe5f247
Connecting to: mongodb+srv://zstd.g3mcy.mongodb.net/?compressors=zlib
Using MongoDB: 4.4.6
Using Mongosh Beta: 0.14.0
Enterprise atlas-q8j1bk-shard-0 [primary]>
Actual Results
Additional Notes
- is related to
-
MONGOSH-825 MongoParseError: zstd is not a valid compression mechanism
- Open