Repository navigation
v0.4.0
Enforces one lord per app and reconciles a doc/test/code inconsistency around the fencing model, surfaced by an external review.
Supervision
- One lord per app is now enforced (#54): a second lord starting for an app whose lord-liveness lease another lord is actively renewing refuses to start with a clear error, rather than stomp the lease and reap each other's thralls into a crash-loop. Empirically, two lords per app never provided HA singleton failover - the second lord supersedes the per-app lord-liveness epoch and the singleton instance self-terminates; the old test missed this by counting starts, not liveness. The check is best-effort (two lords started within the same startup window still race, no worse than before); a live competitor is told apart from a dead predecessor (a lingering lease after a crash) by whether the lease is being renewed. Cross-node single-instance is via leaf-node isolation, not lords racing a shared lock.
Docs
- Reconciled the docs with the enforced model (#54): DESIGN §14 (assumed → enforced), §12 (the singleton is one instance within an app; cross-node single-instance is leaf isolation), and fixed a stale §13c note (a stream config change is rejected at startup, not silently ignored).
- Added a Multi-node and isolation section to the README (#55): one lord per app+node, leaf-node isolation with per-site accounts, the hub importing only the data plane. Links DESIGN §11b and the hub-spoke spike.
- Stated plainly that aether is OTP-inspired, not OTP (#55): real OTP (Erlang/BEAM) runs millions of lightweight in-VM processes; aether runs tens of OS processes across languages, trading scale for OS-process isolation and polyglot. Filled in the examples list and added a version stamp.
Full changelog: v0.3.0...v0.4.0