-
Notifications
You must be signed in to change notification settings - Fork 893
Backfill peer attribution #7762
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
base: unstable
Are you sure you want to change the base?
Conversation
Can you implement max retries too before adding this to backfill? |
I've tested this running a supernode on Looking great @pawanjay176 |
I'll do a round of review shortly. |
Squashed commit of the following: commit 646033b Author: Jimmy Chen <[email protected]> Date: Thu Jul 24 14:13:55 2025 +1000 Use self-hosted runners for Fusaka devnet testing. commit 718e703 Author: Pawan Dhananjay <[email protected]> Date: Wed Jul 23 19:41:28 2025 -0700 lint commit 5246a20 Author: Pawan Dhananjay <[email protected]> Date: Wed Jul 23 19:38:24 2025 -0700 Add max retry logic commit d5bcf9f Merge: 432f68c 9911f34 Author: Pawan Dhananjay <[email protected]> Date: Wed Jul 23 17:49:41 2025 -0700 Merge branch 'unstable' into peer-attribution-backfill commit 432f68c Author: Pawan Dhananjay <[email protected]> Date: Wed Jul 23 17:49:06 2025 -0700 Cleanup Please enter the commit message for your changes. Lines starting commit 9bd0f28 Author: Pawan Dhananjay <[email protected]> Date: Fri Jul 18 16:46:07 2025 -0500 Add retries on backfill commit 0293d0a Author: Pawan Dhananjay <[email protected]> Date: Fri Jul 18 14:26:44 2025 -0500 Address some of lion's comments from the other PR
Some required checks have failed. Could you please take a look @pawanjay176? 🙏 |
65352a6
to
41ad1a9
Compare
Squashed commit of the following: commit 41ad1a9 Author: Jimmy Chen <[email protected]> Date: Thu Jul 24 22:28:27 2025 +1000 Run devnet sync test on `Kurtosis` runner. commit 646033b Author: Jimmy Chen <[email protected]> Date: Thu Jul 24 14:13:55 2025 +1000 Use self-hosted runners for Fusaka devnet testing. commit 718e703 Author: Pawan Dhananjay <[email protected]> Date: Wed Jul 23 19:41:28 2025 -0700 lint commit 5246a20 Author: Pawan Dhananjay <[email protected]> Date: Wed Jul 23 19:38:24 2025 -0700 Add max retry logic commit d5bcf9f Merge: 432f68c 9911f34 Author: Pawan Dhananjay <[email protected]> Date: Wed Jul 23 17:49:41 2025 -0700 Merge branch 'unstable' into peer-attribution-backfill commit 432f68c Author: Pawan Dhananjay <[email protected]> Date: Wed Jul 23 17:49:06 2025 -0700 Cleanup Please enter the commit message for your changes. Lines starting commit 9bd0f28 Author: Pawan Dhananjay <[email protected]> Date: Fri Jul 18 16:46:07 2025 -0500 Add retries on backfill commit 0293d0a Author: Pawan Dhananjay <[email protected]> Date: Fri Jul 18 14:26:44 2025 -0500 Address some of lion's comments from the other PR
3610fb5
to
1211aaf
Compare
@pawanjay176 I changed the base |
let range_req = entry.get_mut(); | ||
if let Some(blocks_result) = range_req.responses(&self.chain.spec) { | ||
if let Err(CouplingError::PeerFailure { | ||
action, |
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.
Seems like action will only be penalized if it's the last retry. That feels wrong as if the peer did something bad any retry attempt should be penalized regardless of ordering
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.
The ExceededMaxRetries
error also gets downscored, but yeah this logic looks pretty contrived, i'm still trying to iterate on it.
@@ -173,7 +173,8 @@ jobs: | |||
# Tests checkpoint syncing to a live network (current fork) and a running devnet (usually next scheduled fork) | |||
checkpoint-sync-test: | |||
name: checkpoint-sync-test-${{ matrix.network }} | |||
runs-on: ubuntu-latest | |||
# Use self-hosted runner for Fusaka devnet testing as GitHub hosted ones aren't able to keep up with the chain. | |||
runs-on: ${{ github.repository == 'sigp/lighthouse' && matrix.network == 'devnet' && fromJson('["self-hosted", "linux", "Kurtosis", "large"]') || 'ubuntu-latest' }} |
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.
Created a separate PR to fix and test this. #7804
} | ||
} | ||
CouplingError::InternalError(msg) => { | ||
debug!(?batch_id, msg, "Block components coupling internal error"); |
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.
should this be warn
or error
?
Issue Addressed
Partly addresses #7744
Proposed Changes
Implement similar peer sync attribution like in #7733 for backfill sync.