3 Commits

Author SHA1 Message Date
Marek Miklewicz c59d5b8c77 docs: correct plan's rollback trap design from ERR to EXIT
die() calls exit directly; bash's ERR trap does not fire on an explicit
exit, only when a command's non-zero status propagates through normal
control flow. Verified empirically during Task 4 implementation - switched
to a ROLLBACK_ARMED-guarded EXIT trap, which fires on any shell exit.
2026-07-05 21:49:51 +02:00
Marek Miklewicz 15044f0dea docs: fix subshell-wrapping bug in Task 2's OS-guard test design
Sourcing native_mariadb_port_takeover.sh for unit tests means a failing
check's die() -> exit 1 would terminate the sourcing test script itself
rather than just failing an `if` condition. Wrap the three
expected-to-fail calls in subshells so exit is confined to the subshell.
2026-07-05 21:26:55 +02:00
Marek Miklewicz 2dd7034558 Add implementation plan for native MariaDB port takeover 2026-07-05 21:05:09 +02:00