Skip to content

Skip idle close peer update scans#812

Draft
marcus-pousette-hp wants to merge 1 commit into
fix/replicator-close-updatefrom
perf/replicator-idle-close-scan
Draft

Skip idle close peer update scans#812
marcus-pousette-hp wants to merge 1 commit into
fix/replicator-close-updatefrom
perf/replicator-idle-close-scan

Conversation

@marcus-pousette-hp

@marcus-pousette-hp marcus-pousette-hp commented May 18, 2026

Copy link
Copy Markdown
Contributor

Stacked on #809.

Avoid calling updateAll() when a closing peer has no inflight request, manifest request, or pending local work to reschedule.

The updateAll() path is preserved when there is inflight work, manifest work, queued blocks, seeks, ranges, reorgs, or upgrades. This is a narrow idle-close cleanup, not the main blind-peer CPU profile fix.

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.

1 participant