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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi tree support #3386

Open
wants to merge 167 commits into
base: master
Choose a base branch
from
Open

Multi tree support #3386

wants to merge 167 commits into from

Conversation

cheme
Copy link
Contributor

@cheme cheme commented Feb 19, 2024

This PR enable multi tree storage of paritydb.
It currently depends on paritytech/subtrie#2

cc\ @MattHalpinParity @arkpar

A new option is offered to client: paritydbmulti that should probably be consider experimental (it is not default). For polkadot parachain db it is not used (only impact state storage).

Code is based on https://github.com/paritytech/polkadot-sdk/tree/arkpar/new-trie . I am currently not really happy with the way I did merge the changes from #1462 into it (I kept the WithDatabase version, but I am not sure there is not a better way to run it (basically new code with 'wrap' did not run well with Box change, so after a few attempt I just made the new RwLock of this branch not present under no_std).

Right now I did not move a lot of test to support multitree, neither did I test a lot, so I am opening the branch in draft.

@MattHalpinParity MattHalpinParity added T0-node This PR/Issue is related to the topic “node”. T17-primitives Changes to primitives that are not covered by any other label. labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T0-node This PR/Issue is related to the topic “node”. T17-primitives Changes to primitives that are not covered by any other label.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants