Skip to content

Search indexes under removal and purge #2346

Open

Description

@bplatz

Follow-up from #2280.

  • Incremental suppression. A full-text or vector source refuses reads while it lags a removal boundary. Applying a removal to the index incrementally would lift that.
  • Dropped indexes block purge. A full-text or vector index over a soft-dropped ledger blocks its purge until the index is dropped or the ledger restored. Releasing the index's artifacts, and rebuilding it before a restore serves it, would remove the block. Chunked BM25 v4 snapshots are another rebuild case not supported.
  • Index name reuse. An index recreated under a dropped index's name, over a different ledger, can keep the earlier index's files. Discovery by current dependency misses that ownership.
  • Artifact GC outside purge. Vector snapshots, BM25 v4 leaflets, terms without postings, drop_artifacts skipping retention/, and rebuild scratch with no startup cleaner all need a normal sync/drop lifecycle. The purge's own cleanup doesn't give them one.
  • Export without refusal. Decide whether export and fallback surfaces need a portable journal rather than refusing.

Activity

  1. added
    P3
    area:query
    on Nov 11, 2026
  2. added this to the 5.0.0 milestone on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3area:query

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions