Skip to content

Conversation

@sandreim
Copy link
Contributor

@sandreim sandreim commented Nov 27, 2025

We pre-connect one slot in advance and we disconnect when our slot ends even when we have pending collations which is wrong. This change fixes this by keeping the connections open until the collation is requested or relay parent expires.

Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
@sandreim sandreim added T0-node This PR/Issue is related to the topic “node”. A4-backport-stable2512 Pull request must be backported to the stable2512 release branch labels Nov 27, 2025
@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/19742239136
Failed job name: cargo-clippy

Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Copy link
Contributor

@lexnv lexnv left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @sandreim for helping out with debugging and fixing this! 🙏

This leads to better stability and collation advertisements for:

Copy link
Member

@eskimor eskimor left a comment

Choose a reason for hiding this comment

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

modulo nits by other reviewers.

@sandreim
Copy link
Contributor Author

/cmd prdoc --audience node_dev --bump patch

github-actions bot and others added 6 commits November 28, 2025 10:01
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
@sandreim sandreim enabled auto-merge November 28, 2025 11:42
@sandreim sandreim added this pull request to the merge queue Nov 28, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2025
@lexnv lexnv added this pull request to the merge queue Nov 28, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2025
@sandreim sandreim added this pull request to the merge queue Nov 28, 2025
Merged via the queue into master with commit e733978 Nov 28, 2025
253 of 255 checks passed
@sandreim sandreim deleted the sandreim/keep_connections_alive branch November 28, 2025 14:40
@paritytech-release-backport-bot

Successfully created backport PR for stable2512:

paritytech-release-backport-bot bot pushed a commit that referenced this pull request Nov 28, 2025
…collations (#10446)

We pre-connect one slot in advance and we disconnect when our slot ends
even when we have pending collations which is wrong. This change fixes
this by keeping the connections open until the collation is requested or
relay parent expires.

---------

Signed-off-by: Andrei Sandu <[email protected]>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit e733978)
EgorPopelyaev pushed a commit that referenced this pull request Nov 28, 2025
Backport #10446 into `stable2512` from sandreim.

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: Andrei Sandu <[email protected]>
Co-authored-by: Andrei Sandu <[email protected]>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A4-backport-stable2512 Pull request must be backported to the stable2512 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.

7 participants