DA follower: split-namespace height counted as done before its other namespace is processed
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 30/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- À l'abandon
- Stack technique
- go
- Domaine
- distributed-systems
Piste de recherche
Read block/internal/syncing/da_follower.go at HandleEvent and block/internal/da/subscriber.go at runSubscription; compare how notifications for each namespace affect completion of the same DA height. Reproduce the header-only example in the issue, then check that the data namespace notification is still handled and the node can fetch Y's data from DA. An open linked pull request (#3531) is already working on this issue.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Problem
When header and data use separate DA namespaces, the subscriber gets one notification per namespace for the same DA height. daFollower.HandleEvent treats an inline event as done for that height as soon as one block completes at it, then the subscriber advances localDAHeight. The other namespace's notification for the same height then arrives when the height is no longer inline, and is ignored.
That is wrong when the first notification completes one block but not all of them. For example, a header-only notification at DA height h carries:
- header X, whose data is empty, so it completes from the header alone;
- header Y, whose data is in the data namespace at
h.
X completes, the height counts as done, and the data notification for h is skipped. Y's data is never fetched from DA, so a node syncing only from DA stalls at Y until P2P supplies it.
Where
block/internal/syncing/da_follower.go,HandleEventblock/internal/da/subscriber.go,runSubscription
This is on main. #3525 narrows it (blocks released from earlier DA heights no longer count) but does not fix it.
Possible fix
Decide whether a split-namespace height is done from whether both namespaces have been processed for it, not from whether a block completed. For example, process a height inline only when its notifications for every namespace have arrived, or always let catch-up fetch both namespaces.
- Langage dominant
- Go
- Étoiles
- 362
- Forks
- 295
- Merge moyen
- 9 h 29 min
- PR mergées (30 j)
- 3
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de evstack/ev-node
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
needs-triage
Difficulté 3/5 1-2 jours Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
DA subscriber: inline rollback does not wake catch-upPeut-être pris @damiannolan l’a pris aujourd’hui. Ouverteneeds-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 35/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 55/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de evstack/ev-node
Issues similaires
-
agent:ready
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
turbot/flowpipe#1162 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsPeut-être pris @weirong-ui l’a pris aujourd’hui. Ouvertekind/bug needs-priority needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
kubernetes-sigs/karpenter#3728 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
compaction: redundant exclusion checks after inRangePeut-être pris @moodbased l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
docker/mcp-registry#8199 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour