d6837d98ee
gates / gates (push) Successful in 20s
Outcome A, qualified. Not B and not C. It does not degrade: 5 of 5 restarts of 12.3 on an 11.6 datadir, readback passed every time, mariadb_upgrade_info unchanged, the entrypoint line never escalated past [Note]. It also never heals - the engine answers 'Major version upgrade detected from 11.6.2-MariaDB to 12.3.3-MariaDB. Check required!' on every start and will forever. The trade R-459 was expected to produce is not real. Converting properly SUCCEEDS across the multi-major jump, takes 7 seconds, backs up the system database unasked - and putting 11.6 back afterwards STILL starts and serves the data. So the operator is being handed a cheap correction, not a choice between a correct engine and a reversible one. The exit-code polarity was measured rather than read: 0 means the upgrade IS needed, 1 means it is not. Assuming either the flag name or the polarity would have inverted the headline. And run without credentials the same command returns a confident-looking FATAL ERROR that is an auth failure. R-464: after converting and going back, the entrypoint prints 'MariaDB upgrade not required' on a state the same engine calls an unsupported downgrade. The obvious cheap instrument for R-459 would have been to grep for that line, and it would have reported fine for the broken case. R-463: the PostgreSQL analogue, deliberately NOT measured here. 11 templates, 8 on postgres:16-alpine, register grep for pg_upgrade returns zero. The two engines fail in OPPOSITE directions - MariaDB skips quietly, Postgres refuses to start - so that one cannot hide; it presents as eight apps down at once. No template changed. Teardown all three layers, hub checked rather than asserted, local-lvm 30.53 percent before and after.
35 lines
1.2 KiB
JSON
35 lines
1.2 KiB
JSON
[
|
|
{
|
|
"harness_version": 1,
|
|
"edge": "E3b",
|
|
"app": "bookstack",
|
|
"note": "AUTHORED step: engine half alone",
|
|
"from": {
|
|
"bookstack": "lscr.io/linuxserver/bookstack:26.05.2",
|
|
"bookstack-db": "mariadb:11.6"
|
|
},
|
|
"to": {
|
|
"bookstack": "lscr.io/linuxserver/bookstack:26.05.2",
|
|
"bookstack-db": "mariadb:12.3"
|
|
},
|
|
"verdict": "proven",
|
|
"seed_read_before": true,
|
|
"seed_read_after": true,
|
|
"healthy_after": true,
|
|
"migration_observed": "bookstack-db | 2026-09-06 17:37:09+02:00 [Note] [Entrypoint]: MariaDB upgrade (mariadb-upgrade or creating healthcheck users) required, but skipped due to $MARIADB_AUTO_UPGRADE setting",
|
|
"abort": "starts-and-serves",
|
|
"abort_detail": null,
|
|
"engine_state_after": {
|
|
"bookstack-db": {
|
|
"image": "mariadb:12.3",
|
|
"probe": "datadir version | the engine's own upgrade verdict",
|
|
"answer": "11.6.2-MariaDB| Major version upgrade detected from 11.6.2-MariaDB to 12.3.3-MariaDB. Check required! [exit=0]",
|
|
"probe_rc": 0
|
|
}
|
|
},
|
|
"duration_s": 0.2,
|
|
"measured_at": "2026-09-06T15:37:22Z",
|
|
"evidence": "evidence/E3b",
|
|
"total_s": 49.0
|
|
}
|
|
] |