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

Fix issue #14316. fix: prevent blocking on sparse trie drop #14331

Closed
wants to merge 1 commit into from

Conversation

VolodymyrBg
Copy link
Contributor

The sparse trie drop operation was potentially blocking the main thread when
the trie was dropped. This change moves the trie drop operation into a
background task to prevent any blocking behavior.

Fixes #14316

@emhane emhane added C-perf A change motivated by improving speed, memory usage or disk footprint A-trie Related to Merkle Patricia Trie implementation labels Feb 8, 2025
@Rjected
Copy link
Member

Rjected commented Feb 11, 2025

closing in favor of #14333

This also does not spawn the drop in a background task, and has multiple other unrelated changes that make some APIs less ergonomic (e.g. the MultiProofTargets change)

@Rjected Rjected closed this Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-trie Related to Merkle Patricia Trie implementation C-perf A change motivated by improving speed, memory usage or disk footprint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return root result without blocking due to sparse trie Drop
3 participants