Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

rocksdb: remove and simplify a bunch of stuff #662

Merged
merged 3 commits into from
Aug 14, 2022
Merged

Conversation

ordian
Copy link
Member

@ordian ordian commented Aug 14, 2022

Summary of changes:

  • KeyValueDB::restore is removed. IIRC this was mainly used the parity-ethereum. I grepped usage in substrate and didn't find any
  • RwLock around the inner db was needed for this method and now it's gone
  • add_column and remove_last_column now require &mut self
  • owning_ref is gone 馃帀

Closes #659

Copy link
Collaborator

@cheme cheme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LVGTM

kvdb/CHANGELOG.md Outdated Show resolved Hide resolved
kvdb-rocksdb/CHANGELOG.md Show resolved Hide resolved
Co-authored-by: cheme <emericchevalier.pro@gmail.com>
@arkpar arkpar merged commit 8941d3f into master Aug 14, 2022
@arkpar arkpar deleted the ao-simplify-rocksdb branch August 14, 2022 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Security issues found on dep for kvdb-rocksdb (owning_ref = "0.4.0")
3 participants