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(exex): check exex head against node head to determine canonical #11410

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

shekhirin
Copy link
Collaborator

@shekhirin shekhirin commented Oct 2, 2024

Motivation

Stumbled upon it when the node crashed during the pipeline sync. On restart, we had a header for the ExEx head block in the database, but the node head was behind it because it looks at the Finish stage of the pipeline and the pipeline didn't finish fully for that block yet.

Solution

Even if a header for the ExEx head block is found in the database, but it's ahead of the node head, we need to revert the ExEx to the node head.

@shekhirin shekhirin added C-bug An unexpected or incorrect behavior A-exex Execution Extensions labels Oct 2, 2024
@shekhirin shekhirin marked this pull request as ready for review October 2, 2024 09:40
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

right, this makes sense

@mattsse mattsse added this pull request to the merge queue Oct 2, 2024
Merged via the queue into main with commit 8d3a03a Oct 2, 2024
36 checks passed
@mattsse mattsse deleted the alexey/exex-notifications-check-canonical branch October 2, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-exex Execution Extensions C-bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants