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

feat(v1.x.x): async pruning of orphan nodes #876

Merged
merged 16 commits into from
Feb 15, 2024

Conversation

czarcas7ic
Copy link
Contributor

@czarcas7ic czarcas7ic commented Jan 31, 2024

This feature prevents the multiple hour long waiting period when chains upgrade from previous versions of IAVL to IAVL v1. The time comes from pruning orphan nodes. This synchronously prunes them. This branch has been tested successfully against osmosis mainnet.

@czarcas7ic czarcas7ic requested a review from a team as a code owner January 31, 2024 01:43
@czarcas7ic czarcas7ic marked this pull request as draft January 31, 2024 01:43
@czarcas7ic czarcas7ic changed the base branch from release/v1.x.x to master January 31, 2024 01:50
@czarcas7ic czarcas7ic changed the base branch from master to release/v1.x.x January 31, 2024 01:51
@czarcas7ic czarcas7ic changed the title feat: sync pruning of orphan nodes feat(v1.x.x): sync pruning of orphan nodes Jan 31, 2024
@czarcas7ic czarcas7ic marked this pull request as ready for review January 31, 2024 03:34
@cool-develope
Copy link
Collaborator

overall, looks good to me! could you please add the changelog?

@czarcas7ic
Copy link
Contributor Author

czarcas7ic commented Feb 1, 2024

Done here 8b53289

@cool-develope would you consider making a minor v1 release that includes this? If not we can just use our fork but would be nice to just use a tag from iavl proper.

Copy link
Collaborator

@cool-develope cool-develope left a comment

Choose a reason for hiding this comment

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

LGTM

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com>
@czarcas7ic
Copy link
Contributor Author

@cool-develope would we be able to get this in a v1 release? I am also refraining from merging since I am not aware of the rules/requirements for this repo.

@cool-develope
Copy link
Collaborator

@tac0turtle ☝️

@cool-develope cool-develope changed the title feat(v1.x.x): sync pruning of orphan nodes feat(v1.x.x): async pruning of orphan nodes Feb 15, 2024
@cool-develope cool-develope merged commit e1fa67e into release/v1.x.x Feb 15, 2024
6 checks passed
@cool-develope cool-develope deleted the adam/v1.0.0-osmo branch February 15, 2024 20:09
@tqin7
Copy link

tqin7 commented Feb 15, 2024

Thanks for working on this! @cool-develope are you looking to create a minor release off this and if so, may I ask when we should expect it?

@tac0turtle
Copy link
Member

we can do a release this week for it

@BrendanChou
Copy link

Nit: the PR description should say "asynchronously" ?

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.

7 participants