-
Notifications
You must be signed in to change notification settings - Fork 719
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
importing genesis state is very slow #669
Comments
I dont believe tendermint is the root cause here. I need to go read the sdks code but from my understanding the sdk reads the genesis file and on InitChain the info is sent to tendermint. |
Interesting-- in tendermint, I found a function that looked like it was reading the genesis state, linked to in that discussion there. I wasn't able to find anything like that in the SDK, but curious to hear your result :). |
Root cause analysis here Currently, blocked on replacing IAVL. |
Thank you! |
We are down to 34 minutes to start the node on that 12 core, 128GB RAM machine of mine. |
what about with crisis invariants disabled? |
I can try it that way, for the snippet I went with all-defaults. Think we should change the snippet? |
it's pretty pointless to check crisis invariants again for every new node that joins the network. I think without crisis invariants startups should be on the order of 10 min. |
It was 4 minutes :) |
Summary of Bug
Pulling genesis state into Gaia v4.0.4 is extremely slow. Small discussion of it here:
tendermint/tendermint#6154
Version
v4.0.4
Steps to Reproduce
Start a
gaia
nodeFor Admin Use
The text was updated successfully, but these errors were encountered: