DA subscriber: inline rollback does not wake catch-up

Ouverte
#3,527 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@damiannolan y travaille déjà.

Depuis le 4/12/2026.

  • #3531 par @damiannolan — ouverte

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
35/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
À l'abandon
Stack technique
go
Domaine
backend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Go
Étoiles
362
Forks
295
Merge moyen
9 h 29 min
PR mergées (30 j)
3

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de evstack/ev-node

Toutes les issues de evstack/ev-node

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.