Jon Chery
531b36924c
fix(P09): migration + operational safety — job stop, retention, logs cap (REQ-158)
- job stop: real systemctl stop via SSH (was DB-only soft stop)
resolves node from alloc_history or --peer flag
- doctor db-retention: row count check for jobs/tasks/audit_log
warns at 100k rows, suggests backup + cleanup
- logs --lines: cap at 50000 (default 1000); --since upper bound 7d
prevents OOM from unbounded journalctl
- cache DB mode 0600 (was 0644; matches store.Open)
- upgrade cutover: backup file + atomic rename (was sed -i)
rollback restores from backup on failure
Tests: job stop SSH, DB retention warning, logs lines cap, cache mode,
cutover backup-restore + atomic rename.
---ci---
project: orca
phase: 9
milestone: v0.13
status: complete
requirements:
covered: [158]
---/ci---
2026-08-10 13:37:28 +00:00
..
2026-08-07 20:33:39 +00:00
2026-08-10 12:27:05 +00:00
2026-08-04 01:43:38 +00:00
2026-06-03 20:08:57 +00:00
2026-08-10 11:55:01 +00:00
2026-08-07 10:59:55 +00:00
2026-08-10 11:55:01 +00:00
2026-08-07 20:33:39 +00:00
2026-08-07 04:55:27 +00:00
2026-08-10 12:27:05 +00:00
2026-08-07 04:17:25 +00:00
2026-08-10 12:27:05 +00:00
2026-08-04 00:05:10 +00:00
2026-08-04 00:05:10 +00:00
2026-08-07 07:47:28 +00:00
2026-08-07 19:28:01 +00:00
2026-08-07 21:06:39 +00:00
2026-08-07 21:06:39 +00:00
2026-08-07 06:14:16 +00:00
2026-08-07 06:14:16 +00:00
2026-08-10 12:27:05 +00:00
2026-08-07 08:18:12 +00:00
2026-08-07 20:33:39 +00:00
2026-08-07 11:12:18 +00:00
2026-08-07 20:33:39 +00:00
2026-08-07 07:47:28 +00:00
2026-08-07 21:06:39 +00:00
2026-08-07 08:35:06 +00:00
2026-08-07 08:35:06 +00:00
2026-08-10 13:37:28 +00:00
2026-08-10 13:37:28 +00:00
2026-08-07 05:17:01 +00:00
2026-08-10 13:11:07 +00:00
2026-08-07 07:17:41 +00:00
2026-08-10 13:11:07 +00:00
2026-08-07 19:07:17 +00:00
2026-08-07 20:33:39 +00:00
2026-08-07 19:59:31 +00:00
2026-08-07 19:59:31 +00:00
2026-08-07 19:59:31 +00:00
2026-08-07 19:59:31 +00:00
2026-08-10 13:37:28 +00:00
2026-08-07 07:29:44 +00:00
2026-08-07 07:29:44 +00:00
2026-08-10 13:37:28 +00:00
2026-08-10 13:37:28 +00:00
2026-08-10 13:37:28 +00:00
2026-08-07 04:24:57 +00:00
2026-08-07 04:24:57 +00:00
2026-08-10 13:37:28 +00:00
2026-08-07 19:28:01 +00:00
2026-08-07 19:28:01 +00:00
2026-08-04 01:43:38 +00:00
2026-08-01 20:06:47 +00:00
2026-08-07 11:12:18 +00:00
2026-08-10 12:27:05 +00:00
2026-08-07 10:55:18 +00:00
2026-08-10 12:27:05 +00:00
2026-08-03 19:59:51 +00:00
2026-08-03 19:59:51 +00:00
2026-08-10 13:11:07 +00:00
2026-08-07 05:47:01 +00:00
2026-08-10 12:27:05 +00:00
2026-08-04 00:09:33 +00:00
2026-08-10 13:11:07 +00:00
2026-08-10 13:11:07 +00:00
2026-08-07 21:06:39 +00:00
2026-08-07 04:47:33 +00:00
2026-08-10 12:27:05 +00:00
2026-08-10 13:11:07 +00:00
2026-08-04 01:43:38 +00:00
2026-06-03 20:08:57 +00:00
2026-08-07 20:33:39 +00:00
2026-08-10 13:11:07 +00:00
2026-08-10 13:37:28 +00:00
2026-08-10 13:37:28 +00:00
2026-08-07 19:28:01 +00:00
2026-08-04 01:43:38 +00:00
2026-06-03 20:08:57 +00:00
2026-08-01 20:06:47 +00:00
2026-08-05 21:23:32 +00:00