Skip to content

collator-protocol: Enhance visibility into para id of failed to fetch collations#11629

Merged
lexnv merged 4 commits intomasterfrom
lexnv/expose-logs
Apr 7, 2026
Merged

collator-protocol: Enhance visibility into para id of failed to fetch collations#11629
lexnv merged 4 commits intomasterfrom
lexnv/expose-logs

Conversation

@lexnv
Copy link
Copy Markdown
Contributor

@lexnv lexnv commented Apr 3, 2026

This PR enhances the observability of our logs when validators refuse to fetch advertised collations for certain para IDs.

The validator keeps track of advertised collations from collators.
Then, the validator checks if it has sufficient slots (is_slot_available) and if the collation can be seconded (can_second).
If either of the mentioned functions fails, the validator silently ignores the collation.

This PR aims to surface this behavior and help investigate further issues.

This PR is already deployed on validators and has surfaced:

Part of:

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
@lexnv lexnv requested review from eskimor and tdimitrov April 3, 2026 08:35
@lexnv lexnv self-assigned this Apr 3, 2026
@lexnv lexnv added the T0-node This PR/Issue is related to the topic “node”. label Apr 3, 2026
@lexnv
Copy link
Copy Markdown
Contributor Author

lexnv commented Apr 3, 2026

/cmd prdoc --audience node_dev --bump patch

Comment thread polkadot/node/network/collator-protocol/src/validator_side/mod.rs Outdated
Comment thread polkadot/node/network/collator-protocol/src/validator_side/mod.rs Outdated
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
@lexnv lexnv changed the title collator-protocol: Enhance visibility into failed to fetch collations collator-protocol: Enhance visibility into para id of failed to fetch collations Apr 6, 2026
Comment thread polkadot/node/network/collator-protocol/src/validator_side/mod.rs Outdated
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io>
@lexnv lexnv enabled auto-merge April 7, 2026 11:46
@lexnv lexnv added this pull request to the merge queue Apr 7, 2026
@lexnv lexnv added A4-backport-stable2506 Pull request must be backported to the stable2506 release branch A4-backport-stable2603 Pull request must be backported to the stable2603 release branch and removed A4-backport-stable2506 Pull request must be backported to the stable2506 release branch labels Apr 7, 2026
Merged via the queue into master with commit cf245e0 Apr 7, 2026
361 of 384 checks passed
@lexnv lexnv deleted the lexnv/expose-logs branch April 7, 2026 14:30
paritytech-release-backport-bot Bot pushed a commit that referenced this pull request Apr 7, 2026
… collations (#11629)

This PR enhances the observability of our logs when validators refuse to
fetch advertised collations for certain para IDs.

The validator keeps track of advertised collations from collators.
Then, the validator checks if it has sufficient slots
(`is_slot_available`) and if the collation can be seconded
(`can_second`).
If either of the mentioned functions fails, the validator silently
ignores the collation.

This PR aims to surface this behavior and help investigate further
issues.

This PR is already deployed on validators and has surfaced:
- #11625

Part of:
- #11377

---------

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io>
(cherry picked from commit cf245e0)
@paritytech-release-backport-bot
Copy link
Copy Markdown

Successfully created backport PR for stable2603:

lexnv added a commit that referenced this pull request Apr 8, 2026
Backport #11629 into `stable2603` from lexnv.

See the
[documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md)
on how to use this bot.

<!--
  # To be used by other automation, do not modify:
  original-pr-number: #${pull_number}
-->

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A4-backport-stable2603 Pull request must be backported to the stable2603 release branch T0-node This PR/Issue is related to the topic “node”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants