Repository navigation
*: upgrade zstd-sys to 2.1.2 - #866
Conversation
Require the patched zstd-sys release in both the RocksDB and Titan native bindings. This raises the bundled zstd library from 1.5.6 to 1.5.7 and removes the old upper bound that prevented downstream dependency upgrades. Addresses RUSTSEC-2026-0410 in zstd-sys. Rust zstd and zstd-safe wrapper advisories still require separate downstream dependency upgrades. Validated the native build and focused compression, Titan blob, and Zstd compaction tests with encryption,portable on macOS ARM64. Signed-off-by: lucasliang <nkcs_lykx@hotmail.com>
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Update zstd-sys requirements librocksdb_sys/Cargo.toml, librocksdb_sys/libtitan_sys/Cargo.toml |
Both manifests change the zstd-sys requirement to 2.1.2. |
Priority:
Estimated code review effort: 1 (Trivial) | ~4 minutes
Change: Other
Possibly related issues
- tikv/tikv issue 20333: This pull request updates
zstd-systo 2.1.2, which the issue identifies as addressing thezstd-sysadvisory. Wrapper upgrades remain separate.
Merge Risk: 
Minimal · up to a23b3
-
No actionable merge-blocking risk is identified in this dependency-only change.
Pre-merge checks: 
5
-
Full details: Title check
-
Explanation
The title ": upgrade zstd-sys to 2.1.2" names the main change. Both librocksdb_sys/Cargo.toml and librocksdb_sys/libtitan_sys/Cargo.toml replace the bounded zstd-sys range with the exact version 2.1.2. The PR objectives confirm the goal is raising the bundled Zstd library from 1.5.6 to 1.5.7 and removing the upper bound. The title is specific and matches the changeset. The scope prefix ":" is a generic wildcard rather than a named component, which is a minor style issue and does not affect the result.
Full details: Docstring Coverage
-
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ekexium The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
Descriptions
Require the patched
zstd-sysrelease in both the RocksDB and Titan native bindings. This raises the bundledzstdlibrary from1.5.6to1.5.7and removes the old upper bound that prevented downstream dependency upgrades.Addresses
RUSTSEC-2026-0410in zstd-sys. Rustzstdandzstd-safewrapper advisories still require separate downstream dependency upgrades.Validated the native build and focused compression, Titan blob, and Zstd compaction tests with encryption,portable on macOS ARM64.
Summary by CodeRabbit