DA subscriber: inline rollback does not wake catch-up
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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) andrunCatchup(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.
- Lenguaje dominante
- Go
- Estrellas
- 362
- Forks
- 295
- Merge medio
- 9 h 29 min
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de evstack/ev-node
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
DA follower: split-namespace height counted as done before its other namespace is processedPosiblemente ocupada @damiannolan la tomó hoy. Abiertoneeds-triage
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
Todos los issues de evstack/ev-node
Issues similares
-
agent:ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
turbot/flowpipe#1162 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsPosiblemente ocupada @weirong-ui la tomó hoy. Abiertokind/bug needs-priority needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
kubernetes-sigs/karpenter#3728 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
compaction: redundant exclusion checks after inRangePosiblemente ocupada @moodbased la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
docker/mcp-registry#8199 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día