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

iavl start up time is slow #637

Closed
yihuang opened this issue Nov 30, 2022 · 0 comments · Fixed by #638 or #646
Closed

iavl start up time is slow #637

yihuang opened this issue Nov 30, 2022 · 0 comments · Fixed by #638 or #646

Comments

@yihuang
Copy link
Collaborator

yihuang commented Nov 30, 2022

It takes dozens of minutes for cronos mainnet archive node to startup, most time is spent on loading all the root nodes.
I wonder how necessary is it to load all the root nodes on startup for iavl tree to functioning?
For example, can we use lazy mode to do modifications?

yihuang added a commit to yihuang/iavl that referenced this issue Dec 1, 2022
Improve startup time of archive nodes.

Closes: cosmos#637
yihuang added a commit to yihuang/iavl that referenced this issue Dec 1, 2022
Improve startup time of archive nodes.

Closes: cosmos#637
yihuang added a commit to yihuang/iavl that referenced this issue Dec 1, 2022
Improve startup time of archive nodes.

Closes: cosmos#637
yihuang added a commit to yihuang/iavl that referenced this issue Dec 1, 2022
Improve startup time of archive nodes.

Closes: cosmos#637
yihuang added a commit to yihuang/iavl that referenced this issue Dec 12, 2022
Improve startup time of archive nodes.

Closes: cosmos#637
tac0turtle pushed a commit that referenced this issue Jan 18, 2023
@github-project-automation github-project-automation bot moved this from 📝 Todo to 👏 Done in Cosmos-SDK Legacy Jan 18, 2023
mergify bot pushed a commit that referenced this issue Jan 29, 2023
…oadVersion`

Co-authored-by: Marko <[email protected]>
Closes #637

(cherry picked from commit d8e1e38)

# Conflicts:
#	mutable_tree_test.go
mergify bot pushed a commit that referenced this issue Jan 30, 2023
…oadVersion`

Co-authored-by: Marko <[email protected]>
Closes #637

(cherry picked from commit d8e1e38)

# Conflicts:
#	CHANGELOG.md
yihuang added a commit to yihuang/iavl that referenced this issue Feb 1, 2023
…oadVersion`

Co-authored-by: Marko <[email protected]>
Closes cosmos#637

(cherry picked from commit d8e1e38)

# Conflicts:
#	mutable_tree_test.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants