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: add healthycheck for Godwoken readonly node services #22

Merged
merged 3 commits into from
Apr 7, 2022
Merged

Conversation

Flouse
Copy link
Collaborator

@Flouse Flouse commented Mar 24, 2022

@Flouse Flouse requested a review from e00dan March 24, 2022 10:22
@Flouse Flouse marked this pull request as ready for review March 24, 2022 10:24
@Flouse Flouse linked an issue Mar 24, 2022 that may be closed by this pull request
@Flouse Flouse force-pushed the info branch 22 times, most recently from a669939 to fe89f8d Compare April 4, 2022 02:20
@Flouse Flouse marked this pull request as ready for review April 4, 2022 09:17
@Flouse Flouse requested a review from classicalliu April 4, 2022 09:17
@Flouse Flouse changed the title fix: add healthycheck for Godwoken service fix: add healthycheck for Godwoken readonly node services Apr 6, 2022
Copy link

@e00dan e00dan left a comment

Choose a reason for hiding this comment

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

Tested, indexer now seems working if started after original node is synced.

Small explanation for anyone looking at this:

The idea is you start docker compose up -d and then after you see in docker-compose logs -f that godwoken node has synced to the tip (latest block) you run docker-compose up -d again and web3-indexer will start this time.

It's not possible to start web3-indexer before node hasn't synced to the tip (it's guarded via bash script that is guarding web3-indexer startup)

@Flouse Flouse merged commit d049fa3 into main Apr 7, 2022
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.

Web3-indexer in docker setup of testnet_v1 is always dying with error
3 participants