myxce/src
Rongsong Shen 4aeae6e282 test(config-upgrade-snapshot): prove WAL-trim safety + add fault-injection seam for marker trigger
Confirmed task 5's existing 6 tests already satisfy "exactly once",
"safe under forced retry", and "does not re-home entities"; confirmed
test_snapshot_recv_old_format_version_rejected_fail_loud (task 1)
already covers format-mismatch rejection by proxy through
load_snapshot's two shared callers (network-install, boot replay).

Adds the two genuine gaps: (1)
test_marker_triggered_checkpoint_trim_preserves_standby_mid_catchup_segments
proves trim_wal_segments/repl_trim_lsn's standby-cursor retention
guard (bug-1147) still holds when reached via the new marker-triggered
checkpoint path, not just the old periodic/direct-call path -- guard
itself untouched. (2) persist_marker_checkpoint_fault_hook
(#ifdef XCE_TESTING, NULL default, true no-op in production) gates
whether persist_checkpoint_marker_triggered runs, for task 8.7's later
crash-before-checkpoint-durable injection; minimally proven here.
Task 8.1 of 19.

Requirements: 1.1, 1.5, 1.8, 5.2, 5.3, 5.6, 5.7, 6.3, 7.3, 7.4
2026-07-25 06:33:11 +00:00
..
autoscaler support shared libxce(for api server) 2026-01-19 11:02:49 +08:00
configs fix(admin-config-tool): resolve xceadmin config build warnings 2026-07-23 09:10:14 +00:00
controller test(config-upgrade-snapshot): prove WAL-trim safety + add fault-injection seam for marker trigger 2026-07-25 06:33:11 +00:00
docs Merge branch 'working' into job_peek_lchen 2026-07-22 13:57:25 +08:00
frontend fix(xcecli): restore dangling CA-cert cleanup misses, enable https support 2026-07-23 07:28:01 +00:00
include feat(config-upgrade-snapshot): define HostAdminState/QueueAdminState capnp structs, bump snapshot format version 2026-07-24 08:26:49 +00:00
lib merge 2026-07-23 12:35:10 +08:00
nixSupport fix(nix): pin capnpc source to immutable commit, not mutable main ref 2026-07-24 08:25:38 +00:00
scheduler merge 2026-07-23 12:35:10 +08:00
schema feat(config-upgrade-snapshot): define HostAdminState/QueueAdminState capnp structs, bump snapshot format version 2026-07-24 08:26:49 +00:00
tools feat(admin-config-tool): drop ha/data/ entirely, match real client TLS 2026-07-22 14:50:51 +00:00
worker merge 2026-07-23 12:35:10 +08:00
xceadmin fix(admin-config-tool): resolve xceadmin config build warnings 2026-07-23 09:10:14 +00:00
flake.lock chore(nix): repin librtti to fix makeInstance leak-on-init-failure 2026-07-17 09:28:47 +00:00
flake.nix save works 2026-03-04 18:18:53 +08:00
meson.build feat(admin-config-tool): wire xceadmin into meson + nix build 2026-07-22 10:46:45 +00:00
meson.options Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00