-
Notifications
You must be signed in to change notification settings - Fork 624
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
Upgrade rust-rocksdb from 0.16 to 0.18 #6351
Conversation
* chore: Upgrade rust-rocksdb 0.16 to 0.18 * zlib causes a linker failure in librocksdb_sys * . * . * Disable bzip2 feature * fmt
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.
Target feature changes make sense to me. I'm not sure however if we need to audit the rocksdb changes to see if there's any potential protocol breaking changes that might occur as a result of this upgrade.
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.
Adding my approval for params estimator changes.
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.
It turned out to be impossible configuring flags per target (x86_64) so they're passed to rust-rocksdb/librocksdb-sys/build.rs so we do that with [build]
unconditionally adding flags for all cpu types. We expect this to not break M1 compilation though.
-Dwarnings
flag was moved from Makefile to config.toml so it doesn't override flags specified in the config.
This is commit 6534625 upstream. Co-authored-by: nikurt <86772482+nikurt@users.noreply.github.com> Co-authored-by: Bowen Wang <bowenwang1996@users.noreply.github.com>
Upgrade rust-rocksdb from 0.16 to 0.18;
Make sse4.1, sse4.2 cpu instructions a requirement for running a node.
Brings a log of compilation warnings while compiling on aarch64 because of this issue: rust-lang/cargo#10439.
Commit blocking 0.16->0.18 switch: 'Make SSE inclusion conditional for target features (#526)'
Performance after the change: https://pastebin.com/z0uu0dyg
Performance in master: https://pastebin.com/ECjLFptg