Skip to content

Proposal to update Rust dependency to a more recent fork of RocksDB #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
myuanz opened this issue Jan 18, 2025 · 0 comments
Open

Proposal to update Rust dependency to a more recent fork of RocksDB #50

myuanz opened this issue Jan 18, 2025 · 0 comments

Comments

@myuanz
Copy link

myuanz commented Jan 18, 2025

Hello,

Currently, I need to read some RocksDB files with format_version=6. I found that the currently used dependency (https://crates.io/crates/[email protected]) only supports up to version 5, while the latest version 0.23 supports files with version 6.

I attempted to update the dependency, build, and test it, and all tests passed. I was also able to read the version 6 data directly.

Additionally, I noticed that new versions of the current dependency are released very slowly, and there seem to be some issues with the process (rust-rocksdb/rust-rocksdb#855). As a result, I also tried switching to https://crates.io/crates/[email protected], which has a fixed release strategy:

rust-rocksdb keeps a rolling MSRV (minimum supported Rust version) policy of 6 months. This means we will accept PRs that upgrade the MSRV as long as the new Rust version used is at least 6 months old.

After switching the dependency and updating all use statements, the build and tests were successful.

Therefore, I suggest updating the current dependency version or directly switching to this repository with the fixed release strategy. I’ve tested it, and so far, all the used APIs are compatible.

Thank you for this library, which is as refreshing as a cool evening breeze in summer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant