Skip to content

[stable2506] Backport #8832#8847

Merged
EgorPopelyaev merged 5 commits intostable2506from
backport-8832-to-stable2506
Jun 26, 2025
Merged

[stable2506] Backport #8832#8847
EgorPopelyaev merged 5 commits intostable2506from
backport-8832-to-stable2506

Conversation

@paritytech-release-backport-bot
Copy link
Copy Markdown

Backport #8832 into stable2506 from alexggh.

See the documentation on how to use this bot.

A 10 session index cache is not enough when you run under intense
pressure and finality is lagg since you will end requesting the session
index for blocks older than that. So let's make this cache larger to
achieve its purpose even under intense load when it actually matters
more to be faster.

The session_index_cache keeps a Hash and a u32, so that's about 36 bytes
per entry, with this increase it can grow up to 65k which is not that
big in my book.

---------

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com>
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit cadf3ac)
@github-actions github-actions bot added the A3-backport Pull request is already reviewed well in another branch. label Jun 12, 2025
@github-actions github-actions bot requested a review from alexggh June 12, 2025 16:13
@github-actions
Copy link
Copy Markdown
Contributor

This pull request is amending an existing release. Please proceed with extreme caution,
as to not impact downstream teams that rely on the stability of it. Some things to consider:

  • Backports are only for 'patch' or 'minor' changes. No 'major' or other breaking change.
  • Should be a legit fix for some bug, not adding tons of new features.
  • Must either be already audited or not need an audit.
Emergency Bypass

If you really need to bypass this check: add validate: false to each crate
in the Prdoc where a breaking change is introduced. This will release a new major
version of that crate and all its reverse dependencies and basically break the release.

@EgorPopelyaev EgorPopelyaev enabled auto-merge (squash) June 26, 2025 10:42
@paritytech-workflow-stopper
Copy link
Copy Markdown

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/15899312085
Failed job name: run-frame-omni-bencher

@EgorPopelyaev EgorPopelyaev merged commit d0f4111 into stable2506 Jun 26, 2025
260 of 290 checks passed
@EgorPopelyaev EgorPopelyaev deleted the backport-8832-to-stable2506 branch June 26, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A3-backport Pull request is already reviewed well in another branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants