-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Not Needed
-
Summary
MongoDB.Driver fails with System.MissingMethodException: 'Method not found: 'Void ZstdSharp.CompressionStream..ctor(System.IO.Stream, Int32, Int32)'.' when installed ZstdShard version is 0.7.0 or higher and ZStandard compression is used
Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).
MongoDB driver 2.20.0 or higher
How to Reproduce
1) Install ZstdShard version 0.7.x or higher into .NET app with MongoDB driver 2.2x;
2) Specify zstd compression in MongoDB connection string and run the app.
Additional Background
Please provide any additional background information that may be helpful in diagnosing the bug.