Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5177

Update zstd-rs to latest

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • zstd-1.2.0
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Not Needed
    • 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?

      Using compression level 13 and higher has a potential data corruption issue: https://github.com/facebook/zstd/pull/3517

       

      Since our zstd library allows configuration of the compression level, we need to update our zstd-rs dependency to the latest release once it is available. The fix has been merged but not yet released. (https://github.com/gyscos/zstd-rs/pull/220)

       

      AC:

      • Update zstd-rs to the next release.
      • Release a new @mongodb-js/zstd

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            durran.jordan@mongodb.com Durran Jordan
            Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: