Core: RewriteManifests can commit stale sequence numbers and row IDs after a transaction retry
Los mantenedores suelen responder en 1 día
@shivadarshan-devadiga ya está trabajando en esto.
Desde el 18/11/2026.
- #19027 de @shivadarshan-devadiga — abierto
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
Línea de trabajo
Start with the failing regression test in TestRewriteManifests and trace how transaction retries rebuild the manifest list and validate deleted manifests. Check whether the replacement manifest retains the retried sequence number and first row ID, or whether the changed inherited metadata should cause rejection. Done means the regression passes across formats v2, v3, and v4; an open linked pull request is already addressing this issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Apache Iceberg version
main (development)
Please describe the bug 🐞
When RewriteManifests explicitly replaces a manifest staged earlier in the same transaction, a concurrent commit can cause the transaction to retry and publish the replacement with metadata from the original attempt.
- Stage an append of file A with
Transaction.newFastAppend(). - Read the staged manifest and write a replacement that copies its entries as
EXISTING. In the same transaction, useRewriteManifeststo delete the staged manifest and add the replacement. - Append file B outside the transaction, then call
commitTransaction().
On retry, the staged manifest keeps its path but can inherit a new sequence number and first row ID from the new manifest list. validateDeletedManifests checks presence by path, so the caller-supplied replacement can still be committed with the original values.
The regression test reports a stale data sequence number for file A in format v2 and overlapping row-ID ranges for files A and B in formats v3 and v4. A stale data sequence number can also affect which equality deletes apply.
The commit should preserve the sequence numbers and row IDs assigned on retry, or reject the replacement if its source manifest's inherited metadata changed.
- Failing regression test in
TestRewriteManifests. manuzhang/iceberg#214 - Related transaction replay validation in Iceberg C++. apache/iceberg-cpp#1104
- Lenguaje dominante
- Java
- Estrellas
- 9.4k
- Forks
- 3.7k
- Merge medio
- 2 d 15 h
- PR fusionados (30 d)
- 169
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
-
Spark: Test INSERT targets with computed IDENTIFIER expressionsPosiblemente ocupada @shivadarshan-devadiga la tomó hace 8 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 10 días. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Flink: JdbcLockFactory concurrent lock-table creation can fail with "table already exists" and restart the jobPosiblemente ocupada @adiranjan25 la tomó hace 17 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
apache/iceberg#18797 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Core: TableMetadata.Builder allows adding encryption keys to v1/v2 tablesPosiblemente ocupada @yusufyildiz34 la tomó hace 29 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 34 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
-
hermes-queue
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
chrisalunlloyd2-sudo/mindpalace#430 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
unitycatalog/unitycatalog#2363 ·
Los mantenedores suelen responder en 1 día
-
area: editor P3 type: feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
halisonworks/mod-codeling#290 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
CVE-2026-63402 i18nextAbiertoarea/dependencies area/dependencies/js backport/26.6 backport/26.8 kind/cve severity/medium source/scan-dependencies status/triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días