[CSHARP-4841] MissingMethodException for ZstdSharp.CompressionStream constructor with ZstdShard > 0.6.7 Created: 10/Nov/23  Updated: 15/Nov/23  Resolved: 15/Nov/23

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.23.0

Type: Bug Priority: Unknown
Reporter: Eugene Filimonov Assignee: Oleksandr Poliakov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

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.



 Comments   
Comment by Githook User [ 15/Nov/23 ]

Author:

{'name': 'Eugene Filimonov', 'email': 'e.filimonov.ext@sportradar.com', 'username': 'FilimonovEugene'}

Message: CSHARP-4841: Update ZstdSharp package to fix MissingMethodException (#1213)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/5e9a974a140451304e0331ba4720c58915c7d5e1

Comment by PM Bot [ 10/Nov/23 ]

Hi e.filimonov.ext@sportradar.com, thank you for reporting this issue! The team will look into it and get back to you soon.

Generated at Wed Feb 07 21:49:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.