From 14f15ad591c17e1bb7cadbb734f7058caf2bfd88 Mon Sep 17 00:00:00 2001 From: architect Date: Sun, 29 Nov 2026 22:29:10 +0300 Subject: [PATCH] [STAGE6] Gitea restore 117 tables but 0 repos in stage0 dump --- docs/architecture/ARCHITECTURE-AUDIT-20261129.md | 12 +++++++++++- docs/architecture/STAGE-6.md | 16 +++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/docs/architecture/ARCHITECTURE-AUDIT-20261129.md b/docs/architecture/ARCHITECTURE-AUDIT-20261129.md index da666d4..b8ccac1 100644 --- a/docs/architecture/ARCHITECTURE-AUDIT-20261129.md +++ b/docs/architecture/ARCHITECTURE-AUDIT-20261129.md @@ -430,14 +430,24 @@ S6-07 Gate G6 S6-02 evidence: ```text -audit-20261129-0430.dump +Audit: audit-20261129-0430.dump temp DB: audit_restore_test_20261129 tables: 14 sprint_items: 58 duration: 0s temp DB dropped + +Gitea: gitea_restore_stage0-20261129-0315.sql.gz +temp DB: gitea_restore_test_20261129 +tables: 117 +repository rows: 0 +duration: 0s +temp DB dropped ``` +**Gitea finding:** схема восстановилась, но 0 repository в stage0 dump. +Нужно проверить, не schema-only ли дамп, и повторить на актуальном. + Критично: backup disk 94%. Не удалять старые бэкапы без решения владельца. HA после RAM, не раньше. diff --git a/docs/architecture/STAGE-6.md b/docs/architecture/STAGE-6.md index 7bc8812..7c755d1 100644 --- a/docs/architecture/STAGE-6.md +++ b/docs/architecture/STAGE-6.md @@ -36,7 +36,7 @@ G6 закрывается только когда: | Код | Задача | Статус | |---|---|---| | S6-01 | Inventory: RAM/диск/UPS/GPU/backup | open | -| S6-02 | Restore drill Tier0/1 | partial: Audit temp restore OK (14 tables, 58 items, 0s) | +| S6-02 | Restore drill Tier0/1 | partial: Audit OK; Gitea 117 tables, но 0 repository в stage0 dump | | S6-03 | Degradation ladder | open | | S6-04 | NATS/Postgres/SSO failure tests | open | | S6-05 | GPU lease → real allocation | open | @@ -72,6 +72,20 @@ duration: 0s temp DB dropped ``` +Gitea: + +```text +dump: gitea_restore_stage0-20261129-0315.sql.gz +temp DB: gitea_restore_test_20261129 +tables: 117 +repository rows: 0 +duration: 0s +temp DB dropped +``` + +**Вывод:** restore схемы проходит; наличие данных репозиториев в этом дампе не доказано. +Нужно проверить, не является ли stage0 dump schema-only, и снять restore с актуального дампа. + - Audit 360: dump → temp DB → 14 таблиц. - Gitea: UTF8 restore → 117 таблиц/5 репо. - Authentik: 230 таблиц.