feature: enable the fragment reuse index on stable-row-id tables in release builds

Abierto
#10,446 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
44/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust

Línea de trabajo

Start with rust/lance-table/src/feature_flags.rs and confirm that continuous recording and retention are complete; the issue names dataset/rowids/spill.rs and index/frag_reuse_with_stable_row_ids.rs as call sites to review. Check how Transaction V2 handles tagged history with stable row ids, then add release-mode test coverage for enabling the flag. Done means the gate and its call sites are removed and the release tests cover the intended behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

feature

Fragment reuse history on tables with stable row ids is gated to debug builds: frag_reuse_with_stable_row_ids_enabled() in rust/lance-table/src/feature_flags.rs returns cfg!(debug_assertions), with no environment override. Release builds therefore refuse a table that sets FLAG_FRAG_REUSE_WITH_STABLE_ROW_IDS.

The intended default is stable row ids, indices that store row addresses, and a fragment reuse transition on every compaction. Transaction V2 (#8646) already lets a tagged history coexist with stable row ids (an index that stores stable row ids must not coexist with a tagged entry), so the release gate is now the blocker.

The gate's doc comment says it stays until "continuous recording and retention land". This issue tracks confirming that work is done, then removing the gate and its call sites (feature_flags.rs, dataset/rowids/spill.rs, index/frag_reuse_with_stable_row_ids.rs), with release-mode test coverage.

Related: #10300.

Lenguaje dominante
Rust
Estrellas
7.3k
Forks
929
Merge medio
2 d 22 h
PR fusionados (30 d)
572

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de lance-format/lance

Todos los issues de lance-format/lance

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.