lookupRaw loaded the database pointer and then acquired it. A hot swap
could close the old database in between, so the lookup returned an
empty answer (and cached it). The swap stores the new database before
closing the old one, so reload the pointer and retry when acquire fails.
Seen once in 377k lookups on the arm64 runner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Always-on Go service (stdlib only) that follows the Traefik JSON access
log, the sshd log and the fail2ban log of a host, classifies attacks,
scores sources, keeps bounded aggregates with snapshots, and serves an
embedded dashboard with live updates, offline geolocation (DB-IP Lite),
privacy-friendly traffic analytics, an exportable blocklist and
token-authenticated federation between instances.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>