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

Aperta
#10,446 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
44/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
7.3k
Fork
929
Merge medio
2g 22h
PR unite (30g)
572

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lance-format/lance

Tutte le issue di lance-format/lance

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.