[Task]: Spark 4 streaming sibling scans of one unbounded source can disagree on a deadline cut batch
Mantenedores costumam responder em até 2 dias
@tkaymak já está trabalhando nisso.
Desde 25/10/2026.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
Part of #36841. When one unbounded source PCollection feeds two branches of a single streaming query, for example Flatten of a PCollection with itself, Spark plans one MicroBatchScanExec per branch and does not deduplicate streaming relations, so each micro batch opens two readers for the same split. The sibling scan fix that follows #40766 gives the second scan a detached reader restored from the start mark, never cached and writing no marks. The two scans still agree only when the source yields the same records up to the same cut. With the default configuration (maxBatchDurationMillis 500 ms, no record quota) a batch cut by the deadline can end at different records per sibling, so the detached branch can lose or duplicate the tail of that batch while the next batch continues from the cached reader's mark. Bounded inputs via Create that drain within the deadline are exact. Possible fixes are recording the cached scan's cut (record count or end mark) so siblings replay to it, or a per batch buffer keyed by split and epoch shared by all scans of the key.
- Linguagem predominante
- Java
- Estrelas
- 8.7k
- Forks
- 4.8k
- Merge médio
- 3d 16h
- PRs com merge (30d)
- 445
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 apache/beam
-
awaiting triage java new feature P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 2 dias
-
[Bug]: [Python] BigTableEnrichmentHandler coerces None lookup keys to literal b'None' and formats blank key name on KeyErrorTalvez já em andamento @shikhabhadoria assumiu há 6 dias. Abertaio P2 python
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
apache/beam#41346 · 4 comentários · 1 responsável ·
Mantenedores costumam responder em até 2 dias
-
Release notes links wrongTalvez já em andamento @schizophrenicmaniac assumiu há 20 dias. Abertabug P3
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 67/100
apache/beam#41197 · 3 comentários · 1 responsável ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
apache/beam#39624 · 2 reações ·
Mantenedores costumam responder em até 2 dias
-
[Bug]: PubsubIO used in batch incorrect batch cutoff sizeTalvez já em andamento @1fanwang assumiu há 98 dias. Abertabug io P3 pinned pubsub
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
apache/beam#28011 · 4 comentários ·
Mantenedores costumam responder em até 2 dias
Todas as issues de apache/beam
Issues semelhantes
-
effort/l priority/p1 risk/high triage/core
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
iflytek/skillhub#1188 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
testng-team/testng#3675 ·
Mantenedores costumam responder em até 1 dia
-
design
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
OpenLiberty/liberty-tools-intellij#1869 ·
Mantenedores costumam responder em até 1 dia
-
`ovsx verify` fails for a version older than the 100 newest of an extensionTalvez já em andamento @trivikr assumiu hoje. Abertacli
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 81/100
eclipse-openvsx/openvsx#2482 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 83/100
Mantenedores costumam responder em até 1 dia