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

Create procedure that fixes existing databases #1278

Closed
kderme opened this issue Oct 7, 2022 · 1 comment
Closed

Create procedure that fixes existing databases #1278

kderme opened this issue Oct 7, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@kderme
Copy link
Contributor

kderme commented Oct 7, 2022

Motivated recently by #1277 it would be great to have a procedure that fixes old values in db-sync. Currently, if there is a bug fix, it only affects values after the upgrade, old values remain wrong. This procedure would use the chainsync server from an earlier point and replace only the wrong values.

This is related to #1172, where the end goal is to have migrations on each release, so that users don't have to resync any blocks. The procedure could also be used as a tool to fix snapshots.

@kderme kderme added the bug Something isn't working label Oct 7, 2022
@kderme kderme self-assigned this Oct 7, 2022
@kderme kderme added enhancement New feature or request and removed bug Something isn't working labels Oct 7, 2022
@marshada
Copy link

Mostly done. @kderme to create PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants