Skip to content

execution/stagedsync: bump ChangeSets3 chain-tip prune limit#21216

Merged
AskAlexSharov merged 1 commit into
mainfrom
cp/21204-to-main
May 16, 2026
Merged

execution/stagedsync: bump ChangeSets3 chain-tip prune limit#21216
AskAlexSharov merged 1 commit into
mainfrom
cp/21204-to-main

Conversation

@sudeepdino008

Copy link
Copy Markdown
Member

Cherry-pick of #21204 to main.

…00000

On heavy-state chains (bloatnet) the 1000-entry per-call cap drains
~85x slower than ChangeSets3's creation rate once initialCycle=false.
The 2s timeout still bounds wall-time; 200k just removes the artificial
floor on how many entries one call can touch.
@sudeepdino008 sudeepdino008 changed the title execution/stagedsync: bump ChangeSets3 chain-tip prune limit 1000 → 200000 execution/stagedsync: bump ChangeSets3 chain-tip prune limit May 15, 2026

@AskAlexSharov AskAlexSharov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Maybe we don’t need limit - and need only time-budget.

Because delete 10k of keys when db > ram is slower than delete 10m keys when db fits in ram.

@AskAlexSharov AskAlexSharov added this pull request to the merge queue May 16, 2026
Merged via the queue into main with commit be461c2 May 16, 2026
68 checks passed
@AskAlexSharov AskAlexSharov deleted the cp/21204-to-main branch May 16, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants