Chaos: a missing message's queue id, and what the server's logs say on it #42

Merged
jcoffey-dev merged 1 commits from feat/mailflow-queue-ids into main 2026-11-21 00:02:02 +00:00
Owner

A PostgreSQL failover in the chaos test left one accepted message missing after 7 minutes, with no retry, and the test couldn't say whether it was late or lost.

mailflow.py now keeps the queue id from each 250 (queued with id ..., hex) and prints it for every message missing. chaos-test.sh then shows the server's log lines for that id (decimal in the logs): delivered late, deferred and why, or never seen. Diagnostics only; pass/fail is unchanged.

Tracker: inbuxa-charts#14

A PostgreSQL failover in the chaos test left one accepted message missing after 7 minutes, with no retry, and the test couldn't say whether it was late or lost. `mailflow.py` now keeps the queue id from each 250 (`queued with id ...`, hex) and prints it for every message missing. `chaos-test.sh` then shows the server's log lines for that id (decimal in the logs): delivered late, deferred and why, or never seen. Diagnostics only; pass/fail is unchanged. Tracker: inbuxa-charts#14
jcoffey-dev added 1 commit 2026-11-20 23:44:33 +00:00
When the chaos test finds an accepted message missing, it couldn't tell a
late delivery from a lost one: a PostgreSQL failover left one message
missing after 7 minutes with no retry. mailflow.py now keeps the queue id
from each 250 ("queued with id ...", hex) and prints it for each message
missing, and chaos-test.sh then shows the server's log lines for that id
(decimal there): delivered late, deferred and why, or never seen.
jcoffey-dev merged commit 0011245a0e into main 2026-11-21 00:02:02 +00:00
jcoffey-dev deleted branch feat/mailflow-queue-ids 2026-11-21 00:02:02 +00:00
Sign in to join this conversation.