Skip to content

Don't propagate a full verification scheduler out of HandleMessage - #588

Open
samliok wants to merge 1 commit into
mainfrom
fix/replication-scheduler-backpressure
Open

Don't propagate a full verification scheduler out of HandleMessage#588
samliok wants to merge 1 commit into
mainfrom
fix/replication-scheduler-backpressure

Conversation

@samliok

@samliok samliok commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Claude noted this as different then how we handle block messages and I agreed

processFinalizedBlock and processNotarizedBlock returned
ErrTooManyPendingVerifications straight up through processReplicationState
and handleReplicationResponse to Epoch.HandleMessage, surfacing it to the
embedding application. A full scheduler is backpressure, not a fatal error.

Both now log and drop the block, matching how the proposal path already
handles a failed schedule. Other errors still propagate.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@samliok
samliok marked this pull request as ready for review September 9, 2026 16:31
@yacovm

yacovm commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

what about the non-validator?

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