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

Support deletion of latest saved version #482

Closed
yihuang opened this issue Mar 11, 2022 · 2 comments
Closed

Support deletion of latest saved version #482

yihuang opened this issue Mar 11, 2022 · 2 comments

Comments

@yihuang
Copy link
Collaborator

yihuang commented Mar 11, 2022

When we try to implement the rollback command in cosmos-sdk, we want to delete the latest saved version, but that's not allowed in the current version of iavl, what's the reason for that, and is it possible to relax that restriction?

yihuang added a commit to yihuang/iavl that referenced this issue Mar 11, 2022
yihuang added a commit to yihuang/iavl that referenced this issue Mar 11, 2022
yihuang added a commit to yihuang/iavl that referenced this issue Mar 11, 2022
yihuang added a commit to yihuang/iavl that referenced this issue Mar 11, 2022
@tac0turtle
Copy link
Member

@yihuang do you still need this?

@yihuang
Copy link
Collaborator Author

yihuang commented Jul 18, 2022

@yihuang do you still need this?

I think LoadVersionForOverwriting do just that, although it's very slow to run in a big db.

@yihuang yihuang closed this as completed Jul 18, 2022
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 a pull request may close this issue.

2 participants