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

Add missing error log and remove redundant id field from lookup logs #6990

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Conversation

jimmygchen
Copy link
Member

@jimmygchen jimmygchen commented Feb 12, 2025

Issue Addressed

Partially #6989.

This PR adds the missing error log when a batch fails due to issues with converting the response into RpcBlock. See the above linked issue for more details.

Adding this log reveals that we're completing range requests with missing columns, hence causing the batch to fail. It looks like we've hit the case where we've received enough stream terminations, but not all columns are returned.

Feb 12 06:12:16.558 DEBG Failed to convert range block components into RpcBlock, error: No column for block 0xc5b6c7fa02f5ef603d45819c08c6519f1dba661fd5d44a2fc849d3e7028b6007 index 18, id: 3456/RangeSync/116/3432, service: sync, module: network::sync::network_context:488

I've also removed some redundant id logging, as the id debug representation is difficult to read, and is now being logged as part of req_id in a more succinct format (relevant PR: #6914)

@jimmygchen jimmygchen added ready-for-review The code is ready for review das Data Availability Sampling peerdas-devnet-4 labels Feb 12, 2025
@jimmygchen jimmygchen requested a review from dapplion February 12, 2025 06:19
@jimmygchen jimmygchen requested a review from jxs as a code owner February 12, 2025 06:19
"id" => %id,
"error" => e
)
})
Copy link
Collaborator

Choose a reason for hiding this comment

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

Superseded by #6991

@@ -179,7 +176,6 @@ impl<T: BeaconChainTypes> ActiveCustodyRequest<T> {
Err(err) => {
debug!(self.log,
"Custody column download error";
"id" => ?self.custody_id,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a good fix as req_id includes custody_id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
das Data Availability Sampling peerdas-devnet-4 ready-for-review The code is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants