-
Notifications
You must be signed in to change notification settings - Fork 796
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
Avoid computing columns from EL blobs if block has already been imported #6816
Avoid computing columns from EL blobs if block has already been imported #6816
Conversation
e09d3d1
to
b3584ac
Compare
…ted (sigp#6816) Squashed commit of the following: commit b3584ac Author: Jimmy Chen <[email protected]> Date: Fri Jan 17 22:39:16 2025 +1100 Avoid computing columns from EL blobs if block has already been imported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should address the error log if the receiver is dropped after import
I've downgraded the error to What do you propose the error handling to be? I think this PR should prevent this, and I think it's fine to just log it if it happens? If block has already been imported, then we just don't re-import and drop them . |
Agree |
Downgraded to |
…ted (#6816) Squashed commit of the following: commit 0df2384 Author: Jimmy Chen <[email protected]> Date: Tue Jan 21 16:41:30 2025 +1100 Downgrade a `warn` log to `debug` and update handling. commit b3584ac Author: Jimmy Chen <[email protected]> Date: Fri Jan 17 22:39:16 2025 +1100 Avoid computing columns from EL blobs if block has already been imported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at f008b84 |
Issue Addressed
From PeerDAS local testing I noticed some errors with failing to send computed columns to receiver:
lighthouse/beacon_node/beacon_chain/src/fetch_blobs.rs
Line 252 in dd7591f
I believe there is a race condition, the sequence:
We should not even try to compute the columns if we've already imported the block from gossip. This consumes extra resources and bandwidth and is unnecessary.