omnigraph/crates
Ragnor Comerford 4bcfdee891
fix(optimize): reconcile pre-existing benign HEAD>manifest drift on empty plan
When a table has nothing left to compact but its Lance HEAD is ahead of the
manifest pin, optimize now catches the manifest up to HEAD (a single CAS-guarded
__manifest commit, no Lance HEAD movement, so no recovery sidecar). This heals
drift left by a pre-fix optimize or an external raw compact_files, so strict
writes / schema apply stop 409ing with "stale view".

Safe by construction: the pending-sidecar defer guard at the top of
optimize_all_tables already ensures no recovery sidecar is in flight, so any
HEAD>manifest reaching this branch is benign and content-preserving — never a
partial write the recovery sweep would roll back. This is the producer-side
heal for uncovered (legacy/external) drift; the write path stays strict and the
recovery protocol's no-drift assumption is preserved (no consumer tolerance).

Restores the reconcile branch removed alongside the (now-abandoned) consumer
tolerance approach; the defer guard added in the same cycle is what makes it
safe to keep.
2026-06-08 14:14:47 +02:00
..
omnigraph fix(optimize): reconcile pre-existing benign HEAD>manifest drift on empty plan 2026-06-08 14:14:47 +02:00
omnigraph-cli fix(optimize): skip blob-bearing tables to avoid Lance compaction crash (#138) 2026-06-02 17:12:00 +02:00
omnigraph-compiler fix(optimize): skip blob-bearing tables to avoid Lance compaction crash (#138) 2026-06-02 17:12:00 +02:00
omnigraph-policy fix(optimize): skip blob-bearing tables to avoid Lance compaction crash (#138) 2026-06-02 17:12:00 +02:00
omnigraph-server fix(optimize): skip blob-bearing tables to avoid Lance compaction crash (#138) 2026-06-02 17:12:00 +02:00