Files
felhom.eu/documentation/audits/r459-spike-2026-09-06/ev/arm2/mariadb-to.log
T
admin d6837d98ee
gates / gates (push) Successful in 20s
SPIKE R-459: the skipped MariaDB conversion is stable, and the trade it implied does not exist
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.
2026-09-06 17:42:19 +02:00

108 lines
7.8 KiB
Plaintext

2026-09-06 17:33:20+02:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:12.3.3+maria~ubu2404 started.
2026-09-06 17:33:21+02:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2026-09-06 17:33:21+02:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:12.3.3+maria~ubu2404 started.
2026-09-06 17:33:21+02:00 [Note] [Entrypoint]: Starting temporary server
2026-09-06 17:33:21+02:00 [Note] [Entrypoint]: Waiting for server startup
2026-09-06 17:33:24+02:00 [Note] [Entrypoint]: Temporary server started.
2026-09-06 17:33:24+02:00 [Note] [Entrypoint]: Backing up system database to system_mysql_backup_11.6.2-MariaDB.sql.zst
2026-09-06 17:33:24+02:00 [Note] [Entrypoint]: Backing up complete
2026-09-06 17:33:24+02:00 [Note] [Entrypoint]: Starting mariadb-upgrade
The --upgrade-system-tables option was used, user tables won't be touched.
Major version upgrade detected from 11.6.2-MariaDB to 12.3.3-MariaDB. Check required!
Phase 1/8: Checking and upgrading mysql database
Processing databases
mysql
mysql.column_stats OK
mysql.columns_priv OK
mysql.db OK
mysql.event OK
mysql.func OK
mysql.global_priv OK
mysql.gtid_slave_pos OK
mysql.help_category OK
mysql.help_keyword OK
mysql.help_relation OK
mysql.help_topic OK
mysql.index_stats OK
mysql.innodb_index_stats OK
mysql.innodb_table_stats OK
mysql.plugin OK
mysql.proc OK
mysql.procs_priv OK
mysql.proxies_priv OK
mysql.roles_mapping OK
mysql.servers OK
mysql.table_stats OK
mysql.tables_priv OK
mysql.time_zone OK
mysql.time_zone_leap_second OK
mysql.time_zone_name OK
mysql.time_zone_transition OK
mysql.time_zone_transition_type OK
mysql.transaction_registry OK
Phase 2/8: Installing used storage engines... Skipped
Phase 3/8: Running 'mysql_fix_privilege_tables'
Phase 4/8: Fixing views... Skipped
Phase 5/8: Fixing table and database names ... Skipped
Phase 6/8: Checking and upgrading tables... Skipped
Phase 7/8: uninstalling plugins
Phase 8/8: Running 'FLUSH PRIVILEGES'
OK
2026-09-06 17:33:31+02:00 [Note] [Entrypoint]: Finished mariadb-upgrade
2026-09-06 17:33:31+02:00 [Note] [Entrypoint]: Stopping temporary server
2026-09-06 17:33:31+02:00 [Note] [Entrypoint]: Temporary server stopped
2026-09-06 17:33:21+02:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
2026-09-06 17:33:21 0 [Note] Starting MariaDB 12.3.3-MariaDB-ubu2404 source revision 83e909fc2a0dbc394b4b683fb3fa2d7dcf26cc5e server_uid 6gQVvpukP9zpgDKjDkctYqi29K8= as process 56
2026-09-06 17:33:21 0 [Note] InnoDB: Compressed tables use zlib 1.3
2026-09-06 17:33:21 0 [Note] InnoDB: Number of transaction pools: 1
2026-09-06 17:33:21 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2026-09-06 17:33:21 0 [Warning] mariadbd: io_uring_queue_init() failed with EPERM: sysctl kernel.io_uring_disabled has the value 2, or 1 and the user of the process is not a member of sysctl kernel.io_uring_group. (see man 2 io_uring_setup).
create_uring failed: falling back to libaio
2026-09-06 17:33:21 0 [Note] InnoDB: Using Linux native AIO
2026-09-06 17:33:21 0 [Note] InnoDB: innodb_buffer_pool_size_max=8388608m, innodb_buffer_pool_size=128m
2026-09-06 17:33:21 0 [Note] InnoDB: Completed initialization of buffer pool
2026-09-06 17:33:21 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
2026-09-06 17:33:21 0 [Note] InnoDB: End of log at LSN=1148747
2026-09-06 17:33:21 0 [Note] InnoDB: Opened 3 undo tablespaces
2026-09-06 17:33:21 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
2026-09-06 17:33:21 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
2026-09-06 17:33:21 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
2026-09-06 17:33:21 0 [Note] InnoDB: log sequence number 1148747; transaction id 2268
2026-09-06 17:33:21 0 [Note] Plugin 'FEEDBACK' is disabled.
2026-09-06 17:33:21 0 [Note] Plugin 'wsrep-provider' is disabled.
2026-09-06 17:33:24 0 [Note] Replication not automatically started: --skip-slave-start was specified
2026-09-06 17:33:24 0 [Note] mariadbd: ready for connections.
Version: '12.3.3-MariaDB-ubu2404' socket: '/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution
2026-09-06 17:33:31 0 [Note] mariadbd (initiated by: unknown): Normal shutdown
2026-09-06 17:33:31 0 [Note] InnoDB: FTS optimize thread exiting.
2026-09-06 17:33:31 0 [Note] InnoDB: Starting shutdown...
2026-09-06 17:33:31 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
2026-09-06 17:33:31 0 [Note] Shutdown completed; log sequence number 1148747; transaction id 2272
2026-09-06 17:33:31 0 [Note] mariadbd: Shutdown complete
2026-09-06 17:33:31 0 [Note] Starting MariaDB 12.3.3-MariaDB-ubu2404 source revision 83e909fc2a0dbc394b4b683fb3fa2d7dcf26cc5e server_uid 6gQVvpukP9zpgDKjDkctYqi29K8= as process 1
2026-09-06 17:33:31 0 [Note] InnoDB: Compressed tables use zlib 1.3
2026-09-06 17:33:31 0 [Note] InnoDB: Number of transaction pools: 1
2026-09-06 17:33:31 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2026-09-06 17:33:31 0 [Warning] mariadbd: io_uring_queue_init() failed with EPERM: sysctl kernel.io_uring_disabled has the value 2, or 1 and the user of the process is not a member of sysctl kernel.io_uring_group. (see man 2 io_uring_setup).
create_uring failed: falling back to libaio
2026-09-06 17:33:31 0 [Note] InnoDB: Using Linux native AIO
2026-09-06 17:33:31 0 [Note] InnoDB: innodb_buffer_pool_size_max=8388608m, innodb_buffer_pool_size=128m
2026-09-06 17:33:31 0 [Note] InnoDB: Completed initialization of buffer pool
2026-09-06 17:33:31 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
2026-09-06 17:33:31 0 [Note] InnoDB: End of log at LSN=1148747
2026-09-06 17:33:31 0 [Note] InnoDB: Opened 3 undo tablespaces
2026-09-06 17:33:31 0 [Note] InnoDB: 128 rollback segments in 3 undo tablespaces are active.
2026-09-06 17:33:31 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
2026-09-06 17:33:31 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
2026-09-06 17:33:31 0 [Note] InnoDB: log sequence number 1148747; transaction id 2268
2026-09-06 17:33:31 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2026-09-06 17:33:31 0 [Note] Plugin 'FEEDBACK' is disabled.
2026-09-06 17:33:31 0 [Note] Plugin 'wsrep-provider' is disabled.
2026-09-06 17:33:31 0 [Note] InnoDB: Buffer pool(s) load completed at 260906 17:33:31
2026-09-06 17:33:32 0 [Note] Server socket created on IP: '0.0.0.0', port: '3306'.
2026-09-06 17:33:32 0 [Note] Server socket created on IP: '::', port: '3306'.
2026-09-06 17:33:32 0 [Note] mariadbd: Event Scheduler: Loaded 0 events
2026-09-06 17:33:32 0 [Note] mariadbd: ready for connections.
Version: '12.3.3-MariaDB-ubu2404' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
2026-09-06 17:33:38 5 [Warning] Aborted connection 5 to db: 'unconnected' user: 'unauthenticated' host: '172.19.0.3' (This connection closed normally without authentication)