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

オープン
#10,446 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
44/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
7.3k
フォーク
929
平均マージ
2日 22時間
マージ済み PR(30日)
572

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lance-format/lance のほかの issue

lance-format/lance の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。