Flink: Streaming accepts a start-snapshot-id that is not on the streamed branch
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- java
- Ambito
- data-engineering, stream-processing
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Java
- Stelle
- 9.5k
- Fork
- 3.7k
- Merge medio
- 2g 2h
- PR unite (30g)
- 170
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/iceberg
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Spark: Test INSERT targets with computed IDENTIFIER expressionsForse già presa @shivadarshan-devadiga l’ha presa 15 giorni fa. Apertaimprovement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
[Core] TestAvroPartitionStatsHandler fails on Windows due to unclosed partition statistics scanForse già presa @Ankitkj1999 l’ha presa 17 giorni fa. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Core: TableMetadata.Builder allows adding encryption keys to v1/v2 tablesForse già presa @yusufyildiz34 l’ha presa 37 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
apache/iceberg#18632 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Kafka: Filter empty strings and whitespace in IcebergSinkConfig stringToListForse già presa @mohamed-elbrik l’ha presa 42 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/iceberg
Issue simili
-
bug vault
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
bancolombia/secrets-manager#150 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
HexaHexes/neoforge-mod-template#124 ·
I maintainer di solito rispondono entro 1 giorno
-
awaiting triage java new feature P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
source-survicate: pagination reads pagination and stops after one page; substreams drop survey_idAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
OpenLiberty/open-liberty#36410 ·
I maintainer di solito rispondono entro 1 giorno