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

(op-node) Keep consistent status when meet an unexpected el sync #222

Merged
merged 3 commits into from
Aug 26, 2024

Conversation

krish-nr
Copy link
Contributor

@krish-nr krish-nr commented Jul 31, 2024

Description

When op-geth meet an unexpected shutdown(OOM, forcekill, etc...) and the truncate operation results in the deletion of head data, the block-by-block insertion requests from op-node will trigger an EL sync in geth. This PR addresses this situation.
related geth change: https://github.com/bnb-chain/op-geth/pull/132

Rationale

When handling unexpected EL sync triggers, state synchronization is performed based on the specific errors returned by geth.

Example

N/A

Changes

@krish-nr krish-nr force-pushed the pbss_recover_chore branch from 0de1dc7 to b9a212b Compare August 1, 2024 02:03
@krish-nr krish-nr force-pushed the pbss_recover_chore branch from 5419a13 to 87b9c90 Compare August 6, 2024 00:26
@krish-nr krish-nr force-pushed the pbss_recover_chore branch from 379dccb to ed8c9e8 Compare August 6, 2024 09:51
@krish-nr krish-nr force-pushed the pbss_recover_chore branch from ed8c9e8 to 5ed6112 Compare August 6, 2024 09:59
Copy link
Contributor

@welkin22 welkin22 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@andyzhang2023 andyzhang2023 left a comment

Choose a reason for hiding this comment

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

LGTM

@owen-reorg owen-reorg merged commit e5afb5c into bnb-chain:develop Aug 26, 2024
13 checks passed
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.

4 participants