feat: share fragment reuse history protection across table types

Aperta
#10,300 0 commenti 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
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
databases

Direzione di ricerca

Start by reading PR #9769 and the related work in #9769, then trace commit-time history protection and cleanup for SRID and non-SRID tables. Identify the migration to stable row IDs and concurrent index changes in the relevant code and tests. Add coverage for both table types and verify cleanup preserves legitimate migration behavior while protecting history still needed by indexes; the issue leaves shared cleanup rules to be determined.

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

Descrizione

feature

Address-based indexes can depend on fragment reuse history on both SRID and non-SRID tables. #9769 adds commit-time protection for SRID tables.

Extend that protection to non-SRID tables, accounting for legitimate operations such as migration to stable row IDs, which deliberately removes unused history once no other index remains.

Reuse validation where possible and test cleanup, migration, and concurrent index changes for both table types. Determine which cleanup rules should be shared rather than assuming the policies must be identical.

Saved-segment publication after history is gone (#9947) and history retention for running jobs remain separate work.

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.