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

add Repair013Orphans to repair 0.13 databases with faulty orphans #282

Merged
merged 11 commits into from
Jun 26, 2020

Conversation

erikgrinaker
Copy link
Contributor

@erikgrinaker erikgrinaker commented Jun 25, 2020

This adds Repair013Orphans() which repairs faulty orphans in an IAVL database last written to with 0.13 and KeepEvery > 1.

Let's discuss how to integrate this with the Cosmos SDK, since this probably shouldn't be applied automatically by IAVL, or directly on an SDK database due to the use of PrefixDB.

Copy link
Member

@tac0turtle tac0turtle left a comment

Choose a reason for hiding this comment

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

utACK.

@erikgrinaker erikgrinaker merged commit 2142759 into 0.14.x Jun 26, 2020
@erikgrinaker erikgrinaker deleted the erik/repair-0.13-orphans branch June 26, 2020 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants