[Bug][Prism]: SDF split residual advances watermark past split primary's output (late data)
Mantenedores costumam responder em até 2 dias
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Domínio
- backend, distributed-systems, stream-processing
Direção de pesquisa
Start with engine/elementmanager.go and stage.go, where the issue identifies the watermark handling for in-progress bundles and split residuals. Reproduce the late-data case with Prism SDF splitting enabled, then compare it with --experiments=prism_disable_sdf_split. Done means the original bundle's output cannot arrive behind an advanced stage watermark; account for the linked open pull request before taking this on.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
What happened?
When a splittable DoFn's bundle runs slowly, Prism splits it in two. If the split-off half finishes first with a later watermark, Prism advances the whole stage's watermark to it, even though the original half is still running. The original half's output then arrives after the watermark has passed it, so a windowed GroupByKey downstream treats it as late data.
Seen: Iceberg CDC streaming read replaying snapshot committed before pipeline start. Residual's empty poll sets watermark to now - poll interval. Snapshot's rows reach sink's commit-window GBK as LATE pane → dead_letter.
- Prism v2.78.0: lost in 5/15 starts
--experiments=prism_disable_sdf_split: 0/15- Java DirectRunner: 0/20
Code:
engine/elementmanager.go:stageState.estimatedOutputsingle value, overwritten per bundle, overrides output watermark, ignores in-progress bundlesstage.go: split residuals' output watermarks dropped
Workaround: --experiments=prism_disable_sdf_split.
Issue Priority
Priority: 1 (data loss / total loss of function)
Issue Components
- Component: Prism Runner
- 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