mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-09 01:35:18 +02:00
chore(optimize): log the pre-existing-drift reconcile
The drift reconcile (empty plan + HEAD>manifest) was silent. Emit a tracing::info so an operator running optimize on a legacy-drifted graph sees the metadata-only manifest catch-up, matching the file's house logging style.
This commit is contained in:
parent
2193a24641
commit
e8a7836a6e
1 changed files with 7 additions and 0 deletions
|
|
@ -322,6 +322,13 @@ async fn optimize_one_table(
|
|||
// a single CAS-guarded `__manifest` commit (atomic; fails clean →
|
||||
// retried next run), so there is no Phase-B gap and no sidecar is needed.
|
||||
if head_version > expected_version {
|
||||
tracing::info!(
|
||||
target: "omnigraph::optimize",
|
||||
table = %table_key,
|
||||
manifest_pin = expected_version,
|
||||
lance_head = head_version,
|
||||
"reconciling pre-existing manifest-behind-HEAD drift (metadata-only catch-up)",
|
||||
);
|
||||
let state = db.table_store.table_state(&full_path, &ds).await?;
|
||||
let update = crate::db::SubTableUpdate {
|
||||
table_key: table_key.clone(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue