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

fix large genesis file commit #374

Merged
merged 5 commits into from May 4, 2021
Merged

Conversation

KamiD
Copy link
Contributor

@KamiD KamiD commented Mar 5, 2021

Closes: #373

Copy link
Collaborator

@robert-zaremba robert-zaremba left a comment

Choose a reason for hiding this comment

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

Thanks for contribution.
Could you add a test for reset sync in an async mode please?

if err != nil {
panic(err)
}
ndb.batch.Close()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are we sure we don't loos data in an async mode here?

@robert-zaremba
Copy link
Collaborator

Hi @KamiD , we are going to tag a new release. Could you respond on the comment above so we can merge this PR?

nodedb.go Outdated Show resolved Hide resolved
changing genesis version check
Copy link
Collaborator

@robert-zaremba robert-zaremba left a comment

Choose a reason for hiding this comment

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

tACK

@robert-zaremba robert-zaremba added the S:automerge Automatic merge and/or update Pull requests label May 4, 2021
@robert-zaremba robert-zaremba merged commit daefaaf into cosmos:master May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S:automerge Automatic merge and/or update Pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Too large genesis file committed to panic with out of memory
2 participants