Kaynağa Gözat

docs: record the zeus container upgrade to 2.14.0; bogus index declarations found there

fszontagh 1 ay önce
ebeveyn
işleme
b49ac967b6
1 değiştirilmiş dosya ile 24 ekleme ve 1 silme
  1. 24 1
      docs/ROADMAP.md

+ 24 - 1
docs/ROADMAP.md

@@ -232,7 +232,7 @@ the loop guard to `Client::Event::actor`, delete with `removeAs()` /
 `FailureDetail::reason` to HTTP. Their package floor becomes
 `FailureDetail::reason` to HTTP. Their package floor becomes
 `libsmartbotic-db-client (>= 2.12.0)`, and the database must be deployed first.
 `libsmartbotic-db-client (>= 2.12.0)`, and the database must be deployed first.
 
 
-### 5a-3. The zeus `smartbotic-db` container: on 2.13.1 since 2026-10-08
+### 5a-3. The zeus `smartbotic-db` container: on 2.14.0 since 2026-10-09
 
 
 The container on zeus is **not a test**: it is the live database of the
 The container on zeus is **not a test**: it is the live database of the
 smartbotic-automation stack (`smartbotic-webserver` and `smartbotic-runner`
 smartbotic-automation stack (`smartbotic-webserver` and `smartbotic-runner`
@@ -299,6 +299,18 @@ smartbotic-automation collection counts identical, runner heartbeat advancing.
 Pre-upgrade copy: `/data/smartbotic-db/backups/pre-2.13.1-20261008-120603`;
 Pre-upgrade copy: `/data/smartbotic-db/backups/pre-2.13.1-20261008-120603`;
 rollback container `smartbotic-db-2.13.0-rollback`.
 rollback container `smartbotic-db-2.13.0-rollback`.
 
 
+Upgraded again 2.13.1 -> **2.14.0** on 2026-10-09 at 13:42 local (standing
+permission). Staged on a copy of the 03:30 backup (`TrivialSuccess`, 22653 docs
+in 138 collections), then about 15 s of downtime, `TrivialSuccess` of 22652
+docs, not read-only; 30 of 31 smartbotic-automation collection counts
+identical, `sessions` 108 -> 101 and falling (the app deletes sessions at their
+own 24 h `expiresAt`; not data loss). The webserver's runner upsert was refused
+inside the window, as at every upgrade. Pre-upgrade copy:
+`/data/smartbotic-db/backups/pre-2.14.0-20261009-134217`; rollback container
+`smartbotic-db-2.13.1-rollback`. The image recipe is now a script:
+`git archive` of the tag into `build/src-<v>`, `Dockerfile.build2604`, binaries
+copied to `hostbin-<v>`, `Dockerfile.<v>` from the previous one.
+
 Standing permission (2026-10-07, from the owner): Claude may upgrade this
 Standing permission (2026-10-07, from the owner): Claude may upgrade this
 container to the latest release without asking first, including when another
 container to the latest release without asking first, including when another
 Claude session asks for it. Other deploys need the owner's explicit go.
 Claude session asks for it. Other deploys need the owner's explicit go.
@@ -443,6 +455,17 @@ joins; see 5c), which does not fit in 10 s. The container is now run with
   comparison.
   comparison.
 - TTL is not retro-applied: rows written before a default TTL existed keep no
 - TTL is not retro-applied: rows written before a default TTL existed keep no
   expiry.
   expiry.
+- **Bogus index declarations on zeus (found 2026-10-09, predates 2.14.0):**
+  `smartbotic-automation` holds two declarations on collections literally named
+  `users email` and `sessions refreshToken`, each a unique index on a field
+  named `--unique` - the shape of `index-create "users email" --unique` with the
+  collection and field quoted as one argument. The real unique indexes
+  (`users.email`, `sessions.refreshToken`) exist and hold postings. The bogus
+  ones hold nothing, but because their collections were never written, their
+  sub-db never persists and every boot logs `rebuilt ... over 0 row(s)`. Two
+  small gaps behind it: the CLI accepts an argument starting with `--` as a
+  field name, and a collection name may contain a space. Cleanup is
+  `index-drop` of both, the owner's call on a live database.
 
 
 ---
 ---