What's Changed
- Five-node docker mesh test bed, hash-chain determinism fix and event loop bug fixes by @psqlmaster in #21
Full Changelog: gorgona-v3.1.6...gorgonad-v3.5.8
gorgonad v3.5.8
Headline: hash chains are now deterministic when forked mesh branches merge, plus a
five-node Docker regression bed that proves it. Client stays at v3.1.6 (unchanged).
Highlights
- Deterministic hash chains on fork merge (
9cc4a81): remote chain hashes are
trusted only on a true append; backfills and fork merges rebuild the chain locally,
so any nodes holding the same alert set converge to byte-identical chains.
Verified by a scripted split-brain test (isolation viadocker network disconnect,
diverging alerts, healing) - 500/500 identical id+hash pairs on all five nodes. - Event loop and config fixes: heap overflow in the text command buffer (
fb4639a),
infinite loop on length-prefix read error (f1e3659), plain-HTTP probe firing on any
capital G inside a command or PSK (06e2a20), partial subscriber cleanup on send
failure (1f3182e), config values truncated at the first=breaking base64 PSKs
(3f08a96), shutdown work moved out of signal context (adfc571). - Five-node Docker mesh test bed (
83a4090,9cc1f69,7c7df99) with delivery,
chain-hash consistency, split-brain and load tests; all exit non-zero on failure. - Latency counters (
fe4556e): Prometheus now exposes handler/maintenance/vacuum
durations (sum/max/count), alert ingest outcomes and outgoing queue depth - the
measurement baseline for the upcoming multi-core work.
Commits (16)
83a4090 feat(gorgonad): five-node docker mesh test bed with delivery test
fb4639a fix(gorgonad): grow text command buffer to prevent heap overflow
f1e3659 fix(gorgonad): break out of client loop on length prefix read error
06e2a20 fix(gorgonad): detect plain HTTP only at start of a line
1f3182e fix(gorgonad): run full subscriber cleanup when process_out closes a socket
3f08a96 fix(gorgonad): keep equals signs in config values like base64 PSK
adfc571 fix(gorgonad): defer shutdown work from signal handler to the main loop
9cc1f69 feat(gorgonad): chain hash consistency and split-brain tests for docker mesh bed
9cc4a81 fix(gorgonad): keep hash chain deterministic when forked branches merge
fe4556e feat(gorgonad): event loop latency and queue depth counters
7c7df99 feat(gorgonad): load test for docker mesh bed
6d0fec2 fix(gorgonad): strict hash parsing and per-send verification in mesh bed tests
1de7d06 fix(gorgonad): parse only stdout with exact fields in mesh hash check
23dce11 feat(gorgonad): pass server version into mesh bed image build
35e7a72 fix(gorgonad): quote compose build arg to keep the flow mapping valid
a0efd19 fix(gorgonad): sync add_alert with logical clock guard and maintenance-only cleanup
Verification
Full regression on the 5-node Docker bed, all exit 0: mesh delivery OK, hash check OK
(500/500 identical chains), split-brain OK (both forks survive, chains converge),
load test OK (500 alerts in 19s, ~27 msg/s cluster-wide, cross-node latency 3s).
Unit tests: 9 checks, 0 failures.
gorgona-3.1.6-2.x86_64.rpm.gz
gorgona-3.1.6-2.x86_64.rpm.sha256.txt
gorgona_3.1.6_amd64.deb.gz
gorgona_3.1.6_amd64.deb.sha256.txt
gorgonad-3.5.8-2.x86_64.rpm.gz
gorgonad-3.5.8-2.x86_64.rpm.sha256.txt
gorgonad_3.5.8_amd64.deb.gz
gorgonad_3.5.8_amd64.deb.sha256.txt
gorgonad_owrt_23.05.4.gz
gorgonad_owrt_23.05.4.sha256.txt
gorgona_owrt_23.05.4.gz
gorgona_owrt_23.05.4.sha256.txt