DA subscriber: inline rollback does not wake catch-up

Aperta
#3,527 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@damiannolan ci sta già lavorando.

Dal 4/12/2026.

  • #3531 di @damiannolan — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
go
Ambito
backend

Direzione di ricerca

Read block/internal/da/subscriber.go, focusing on runSubscription's rollback and runCatchup's head-reached exit. Reproduce the described timing by running catch-up between the inline CAS and rollback, then verify that catch-up retries the rolled-back height without waiting for another blob. Pull request #3531 is already open for this issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

needs-triage

Problem

runSubscription claims a height for inline processing by advancing localDAHeight with a CAS, and rolls it back if HandleEvent fails (block/internal/da/subscriber.go, around line 328). The rollback does not signal the catch-up loop.

If the catch-up loop runs while the inline cursor is advanced, it can see local > highest, mark the head reached and return. The rollback then moves localDAHeight back below highestSeenDAHeight, but no signal wakes catch-up. The rolled-back height is not retried until updateHighest sees a higher DA height, which in subscription mode happens only when another blob lands in the chain's namespaces.

On an active chain that is a short delay. On a lazy or idle chain the node can sit behind for a long time.

Where

  • block/internal/da/subscriber.go: runSubscription (rollback) and runCatchup (head-reached exit)

This is on main; #3525 does not touch the subscriber.

Possible fix

Call signalCatchup() after the rollback, so catch-up re-checks localDAHeight against highestSeenDAHeight. A test that runs catch-up between the inline CAS and the rollback would cover it.

Lingua principale
Go
Stelle
362
Fork
295
Merge medio
9h 29m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di evstack/ev-node

Tutte le issue di evstack/ev-node

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.