Flink: Streaming accepts a start-snapshot-id that is not on the streamed branch
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- java
Línea de trabajo
Read ContinuousSplitPlannerImpl.startSnapshot and the incremental snapshot discovery path for Flink streaming. Trace how the streamed ref's head and snapshot ancestry are checked at startup, then find the related tests for INCREMENTAL_FROM_SNAPSHOT_ID. Done means startup rejects a start snapshot outside the streamed ref's ancestry with an error naming the snapshot and branch; an open pull request is already linked.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Apache Iceberg version
None
Query engine
Flink
Please describe the bug 🐞
With starting-strategy=INCREMENTAL_FROM_SNAPSHOT_ID, ContinuousSplitPlannerImpl.startSnapshot only checks that start-snapshot-id exists in the table, not that it is in the history of the streamed branch (or main). Raised in https://github.com/apache/iceberg/pull/19099#discussion_r4728049051 from @timothyw553
main: F ── M1 ── M2
\
b1: B1
Stream b1:
start-snapshot-id = M1(parent F is on b1): startup succeeds and the job streams b1 from F, so the configured start snapshot is ignored without an error.start-snapshot-id = M2(parent M1 is not on b1): startup succeeds, and the first incremental discovery fails withStarting snapshot (exclusive) <M1> is not a parent ancestor of end snapshot <B1>.
The same applies when streaming main with a snapshot that is only on a branch.
Proposal: reject a start snapshot that is not an ancestor of the streamed ref's head at startup, with an error naming the snapshot and the branch.
Willingness to contribute
- I can contribute a fix for this bug independently
- I would be willing to contribute a fix for this bug with guidance from the Iceberg community
- I cannot contribute a fix for this bug at this time
- Lenguaje dominante
- Java
- Estrellas
- 9.5k
- Forks
- 3.7k
- Merge medio
- 2 d 2 h
- PR fusionados (30 d)
- 170
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/iceberg
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Spark: Test INSERT targets with computed IDENTIFIER expressionsPosiblemente ocupada @shivadarshan-devadiga la tomó hace 15 días. Abiertoimprovement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
[Core] TestAvroPartitionStatsHandler fails on Windows due to unclosed partition statistics scanPosiblemente ocupada @Ankitkj1999 la tomó hace 17 días. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Core: TableMetadata.Builder allows adding encryption keys to v1/v2 tablesPosiblemente ocupada @yusufyildiz34 la tomó hace 37 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
apache/iceberg#18632 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Kafka: Filter empty strings and whitespace in IcebergSinkConfig stringToListPosiblemente ocupada @mohamed-elbrik la tomó hace 42 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
Todos los issues de apache/iceberg
Issues similares
-
bug vault
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
bancolombia/secrets-manager#150 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 92/100
HexaHexes/neoforge-mod-template#124 ·
Los mantenedores suelen responder en 1 día
-
awaiting triage java new feature P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
source-survicate: pagination reads pagination and stops after one page; substreams drop survey_idAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenLiberty/open-liberty#36410 ·
Los mantenedores suelen responder en 1 día