diff options
| author | Stefan Boberg <[email protected]> | 2026-04-02 20:21:44 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-04-02 20:21:44 +0200 |
| commit | 7fe0d1cca7aba446e0a665bb5816e2491fb1101d (patch) | |
| tree | 1192d4ef97ec9f12e120be6d73a81636a52711a0 /src/zenhttp/httpserver.cpp | |
| parent | Expand environment variables in --data-dir and improve HordeAgent (diff) | |
| download | zen-7fe0d1cca7aba446e0a665bb5816e2491fb1101d.tar.xz zen-7fe0d1cca7aba446e0a665bb5816e2491fb1101d.zip | |
Add orchestrator session ID to reject stale worker announcements
Horde/Nomad-spawned zenserver instances from a previous orchestrator
session could remain alive and post announcements to a new orchestrator,
creating ghost workers. The orchestrator now uses its process session ID
and passes it to spawned workers via --coordinator-session. Workers
include it in announce payloads, and the orchestrator rejects mismatches
with 409 Conflict. Announcements without a session field are still
accepted for backwards compatibility.
Diffstat (limited to 'src/zenhttp/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions