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

[R4R]change default saved recent iavl version from 10K to 100K #272

Merged
merged 2 commits into from
Apr 20, 2022

Conversation

unclezoro
Copy link
Collaborator

@unclezoro unclezoro commented Apr 9, 2022

Description

Many of the data-seeds enable the state sync reactor to provide state sync data for external peers. It means these nodes need to persist the snapshot on breathblock, as the state grows in the mainnet, it takes more than 1 hour to do it.

While the IAVL tree only keeps the recent 10K version, which is about 1 hour, so it the snapshot can not be done before it is been pruned.

Rationale

We raised the recent keep IAVL versions to save enough time for snaphshot.

Example

n/a

Changes

* update the changelog for the upcoming release
@unclezoro unclezoro changed the title [WIP]change default saved recent iavl version from 10K to 100K [R4R]change default saved recent iavl version from 10K to 100K Apr 20, 2022
@unclezoro unclezoro changed the base branch from master to develop April 20, 2022 01:13
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.

3 participants