Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Switch to new kvdb-rocksdb #4186

Merged
merged 6 commits into from
Nov 23, 2019
Merged

Switch to new kvdb-rocksdb #4186

merged 6 commits into from
Nov 23, 2019

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Nov 22, 2019

This pr switches to the new kvdb-rocksdb, that will be released in the next days. However, we already need it now to fix the linking errors in Polkadot.

Rocksdb and `wasmtime-environ` both link `zstd`. In the final link step,
this leads to linking errors because of duplicate symbols. The linked
Rocksdb fixes this by using `zstd-sys` as well. However, this currently
also requires modifications in `zstd-sys`. Someone will need to come up
with a better implementation.
@bkchr bkchr added the A0-please_review Pull request needs code review. label Nov 22, 2019
@gavofyork gavofyork added this to the polkadot-0.6.18 milestone Nov 22, 2019
@gavofyork
Copy link
Member

gavofyork commented Nov 22, 2019

@bkchr a few failing tests here it seems...

cargo benches, in particular fails on linkage.

@gavofyork gavofyork added A7-looksgoodtestsfail and removed A0-please_review Pull request needs code review. labels Nov 22, 2019
@bkchr bkchr changed the title Switch to new rocksdb with some hacks to resolve linking errors Switch to new kvdb-rocksdb Nov 23, 2019
Co-Authored-By: Shawn Tabrizi <shawntabrizi@gmail.com>
@bkchr bkchr merged commit eef00ea into master Nov 23, 2019
@bkchr bkchr deleted the bkchr-switch-to-kvdb-prerelease branch November 23, 2019 22:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants