mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-09 01:35:18 +02:00
A table's Lance HEAD can sit ahead of the manifest pin after a benign, content-preserving op that never published to the manifest (compaction, a recovery restore, an old-binary optimize, an external compact_files). That drift carries no recovery sidecar and is safe to write over. A pending recovery sidecar, by contrast, marks a real in-flight partial write the open-time sweep will roll back. Adds boundary tests proving the (currently-missing) consumer-side behavior: - writes.rs: strict update / strict delete proceed on benign drift with no sidecar, and defer (pointing at recovery) when a sidecar pins the table. - schema_apply.rs: additive apply proceeds on benign drift, defers when a sidecar pins the table. Shared forge_benign_drift / write_node_pin_sidecar / node_table_uri helpers in tests/helpers/mod.rs (never-matching delete_where advances Lance HEAD by one without touching the manifest). Red today: the pre-stage precondition rejects any HEAD != pin as a stale view (ExpectedVersionMismatch), so the proceeds tests 409 and the defers tests get the generic stale-view message instead of an actionable recovery hint. |
||
|---|---|---|
| .. | ||
| omnigraph | ||
| omnigraph-cli | ||
| omnigraph-compiler | ||
| omnigraph-policy | ||
| omnigraph-server | ||