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

[Feature]: use historical tree after migrating to another tree #22989

Open
tac0turtle opened this issue Dec 18, 2024 · 0 comments
Open

[Feature]: use historical tree after migrating to another tree #22989

tac0turtle opened this issue Dec 18, 2024 · 0 comments

Comments

@tac0turtle
Copy link
Member

Summary

in v2 we allow users to use different trees, when users migrate from v1 to v2 they can continue with iavl v1 or migrate to iavlv2. the migration to v2 uses the snapshot manager to do the migration, but it does not migrate historical information. We opted to not migrate historical information instead when the migration is completed we store the height the migration occurred at, then when a user requests data from a older version we query the old tree for that information if the node operator enables the feature.

Problem Definition

No response

Proposed Feature

store the migration height after the migration has completed, if a node operator enables historical information querying then we allow kv queries to be routed to the old tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant