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

Wasted data in range_blocks_and_blobs_requests #6270

Open
dapplion opened this issue Aug 16, 2024 · 0 comments
Open

Wasted data in range_blocks_and_blobs_requests #6270

dapplion opened this issue Aug 16, 2024 · 0 comments
Labels

Comments

@dapplion
Copy link
Collaborator

Description

Recently added metrics on sync show a decent count of unknown sync requests for range_blocks. This line here

metrics::inc_counter_vec(&metrics::SYNC_UNKNOWN_NETWORK_REQUESTS, &["range_blocks"]);

Screenshot 2024-08-16 at 10 22 31

For example, during sync in sari it happens between 0.5-1/min

I believe this is due to the design of range_blocks_and_blobs_requests, which will drop its item if any of the two internal requests fail. Hitting the unknown request condition causes fetches data to be wasted.

Allowing each internal request in range_blocks_and_blobs_requests to be retried would reduce that waste rate. See

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant