Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-4841

MissingMethodException for ZstdSharp.CompressionStream constructor with ZstdShard > 0.6.7

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.23.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Not Needed
    • Hide

      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?

      Show
      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?

      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.

            Assignee:
            oleksandr.poliakov@mongodb.com Oleksandr Poliakov
            Reporter:
            e.filimonov.ext@sportradar.com Eugene Filimonov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: