-
Notifications
You must be signed in to change notification settings - Fork 224
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
Added rocksdb with transactions using Yiyuanliu branch of rust-rocksdb. #173
Conversation
I think most of these TODOs should be addressed in separate PRs. For lifetimes, feel free to add 98eae77 to the PR |
On wasm side, I suggest making rocksdb optional dependency, and enabling it in |
Okay the build should be fixed although with the inclusion of C code GitHub wont be able to compile and test without clang tools (I'm not sure how that works). As for the TODO's I think I'll limit this PR to adding the remaining tests for the existing database trait and making rocksdb an optional dependency and enabling it in those files Maan2003 mentioned. The other changes such as the migration to transactions and the other TODO's will have separate PR's. |
notes for CI:
|
feel free to include 9ebfa35 for wasm fixes |
Thank you @maan2003! The current problem is getting this to compile in CI issues with what looks like a vendored librocksdb-sys which is incompatible with the nixos filesystem. |
I added a commit to fix the builds in nix-shell. Just needs a fix for the flake based stuff now, I asked @wiredhikari and he had some ideas how to do it that need documentation, maybe you can coordinate with him. |
You can try a |
Awesome that the tests finally run, you can probably clean up the git history a bit and squash some commits, then this should be ready for review! |
What's the status here? |
I have rebased and squashed some commits in https://github.com/Maan2003/minimint/commits/db-rebase |
The rust-rocksdb PR was just approved, but not merged yet. I think we should just rebase and merge this. Looks like ^^ will get in. |
- fix CI (added proper support for clang and git)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
TODO:
Note: transactions are soon to be merged into rust-rocksdb we are simply waiting on a couple changes for the next rocksdb you can track the issue here https://github.com/rust-rocksdb/rust-rocksdb/pull/565/files#. Obviously we will want to change to master as soon as possible.