DA follower: split-namespace height counted as done before its other namespace is processed
Mantenedores costumam responder em até 1 dia
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 30/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Estagnada
- Stack de tecnologia
- go
- Domínio
- distributed-systems
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Go
- Estrelas
- 362
- Forks
- 295
- Merge médio
- 9h 29min
- PRs com merge (30d)
- 3
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de evstack/ev-node
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
needs-triage
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
DA subscriber: inline rollback does not wake catch-upTalvez já em andamento @damiannolan assumiu hoje. Abertaneeds-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 35/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 55/100
Mantenedores costumam responder em até 1 dia
Todas as issues de evstack/ev-node
Issues semelhantes
-
agent:ready
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
turbot/flowpipe#1162 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsTalvez já em andamento @weirong-ui assumiu hoje. Abertakind/bug needs-priority needs-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
kubernetes-sigs/karpenter#3728 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
compaction: redundant exclusion checks after inRangeTalvez já em andamento @moodbased assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
docker/mcp-registry#8199 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia