[DRIVERS-2105] ZSTD fails to decompress messages for versions < v0.8.0 Created: 30/Aug/19  Updated: 31/Mar/22

Status: Backlog
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Spec Change Priority: Major - P3
Reporter: Clyde Bazile III (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 16.04
zstd versions < 0.8.0


Issue Links:
Depends
Related
related to SERVER-43070 ZSTD fails to decompress messages for... Closed
Driver Changes: Needed

 Description   

Zstd versions less than v0.8.0 fails to decompress messages and returns a server-side error. According to the discussion inĀ SERVER-43070 this is the intended behavior. Perhaps we should document this in the Wire Compression Spec?



 Comments   
Comment by Jeremy Mikola [ 09/Sep/19 ]

I propose the spec change require the following:

  • Drivers that control their build process (e.g. libmongoc) must ignore versions of zstd before 0.8, rather than compile with a version that will break. Those drivers may optionally document the dependency.
  • Drivers that don't control their build process (e.g. Python, which uses a third-party module that bundles zstd) must document the requirement.
Generated at Thu Feb 08 08:24:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.