-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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]: store/v2: support archive node migration #22530
Comments
we should be able to offer a simple command line to transfer the data for node operators that would like to |
Since SS was removed from store/v2 in #22683 this is no longer relevant. |
we should still have migration for iavlv2 no? |
iavl v2 could use some attention for migrations. presently the only supported migration is iavl v0 -> iavl v2, and that is latest state only. should that be a feature of iavl v2 or store/v2 though? |
i was thinking a cmd that uses that the user runs and does gets and sets, it will be slow but its the best we can do |
so migrate between 2 arbitrary SC stores? |
for historical state recovery, this is not trivial. I wrote a tool to recover the full state log from an iavl v0 db on TB scale and it takes on the order of 12-48 hours to run. re opening for now, let's discuss synchronously on tomorrow's SDK call? |
closing this after the previous discussion |
Summary
store/v2 migrations support migrating from a snapshot, which is ideal for a high throughput validator, but this does not account for migrating (or after migration, retrieving) historical state.
Problem Definition
Today, after migrating to store/v2, historical state present prior to the snapshot used for migration is no longer accessible to the state machine or query handlers.
Proposed Feature
The text was updated successfully, but these errors were encountered: