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

Node/EVM: Retry block time read #3577

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Conversation

bruce-riley
Copy link
Contributor

@bruce-riley bruce-riley commented Dec 5, 2023

This PR addresses issue #2905, where reading the block time on a new EVM transaction can fail, possibly due to a load balancer issue. This failure kills the watcher, which has always been a problem, but will be worse now that the watcher is maintaining the timestamp to block number cache used for CCQ, so that history will be lost on a restart.

This PR adds a limited retry (every five seconds for up to three retries) before giving up on the transaction.

@bruce-riley bruce-riley marked this pull request as ready for review December 6, 2023 21:59
@bruce-riley bruce-riley merged commit 9ccf5e5 into main Dec 6, 2023
21 of 22 checks passed
@bruce-riley bruce-riley deleted the node/evm_retry_blocktime_read branch December 6, 2023 22:54
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