one-db
ONEDB-10
· child of ONEDB-2 No dual-write: cutover = flip reporter (netreport.sh) to pg + drop sqlite writes after parity. Per Elazar 2026-06-06. Done
GATE#1 step iii: flip venus-kpi-collect.sh to pg-write (telemetry_rw via metrics_write) — kills kpi.sqlite split-brain co-writer; nw lane (cross-host)
Blocked high
nwnw-whey-cc
⛔ Q#50: ONEDB-10 venus-kpi pg-flip is a fork decision, not a mechanical edit. venus-kpi-collect.sh is a stale BUGGY fork of kpi-enforce.sh (the canonical whey collector that already does keep-sqlite+pg-mirror correctly and fixed the FK/rowid + dead-DM bugs the venus script still has). Pick: (A) port just the mirror pattern into venus-kpi-collect.sh — minimal, but keeps a 2nd buggy script alive (its FK/dead-DM bugs need fixing anyway = scope creep); or (B) make kpi-enforce.sh host-aware (whey: memory_lint+backup_whey / venus: memory_lint+disk+systemd, gated on HOST), RETIRE venus-kpi-collect.sh, venus runs the canonical script. One collector, buggy fork dies, pg-mirror free. Touches whey's live collector. I recommend B. host col namespaces rows so no double-count either way.
Questions 1 open
ONEDB-10 venus-kpi pg-flip is a fork decision, not a mechanical edit. venus-kpi-collect.sh is a stale BUGGY fork of kpi-enforce.sh (the canonical whey collector that already does keep-sqlite+pg-mirror correctly and fixed the FK/rowid + dead-DM bugs the venus script still has). Pick: (A) port just the mirror pattern into venus-kpi-collect.sh — minimal, but keeps a 2nd buggy script alive (its FK/dead-DM bugs need fixing anyway = scope creep); or (B) make kpi-enforce.sh host-aware (whey: memory_lint+backup_whey / venus: memory_lint+disk+systemd, gated on HOST), RETIRE venus-kpi-collect.sh, venus runs the canonical script. One collector, buggy fork dies, pg-mirror free. Touches whey's live collector. I recommend B. host col namespaces rows so no double-count either way.
Activity
-
parent=#698
-
ONEDB-10 venus-kpi pg-flip is a fork decision, not a mechanical edit. venus-kpi-collect.sh is a stale BUGGY fork of kpi-enforce.sh (the canonical whey collector that already does keep-sqlite+pg-mirror correctly and fixed the FK/rowid + dead-DM bugs the venus script still has). Pick: (A) port just the mirror pattern into venus-kpi-collect.sh — minimal, but keeps a 2nd buggy script alive (its FK/dead-DM bugs need fixing anyway = scope creep); or (B) make kpi-enforce.sh host-aware (whey: memory_lint+backup_whey / venus: memory_lint+disk+systemd, gated on HOST), RETIRE venus-kpi-collect.sh, venus runs the canonical script. One collector, buggy fork dies, pg-mirror free. Touches whey's live collector. I recommend B. host col namespaces rows so no double-count either way.
-
blocked by question #50
task
2026-06-06 by wi-cli-whey
6w ago