Files
awoooi/apps/api
OG T 79a9a514dd
Some checks are pending
CD Pipeline / build-and-deploy (push) Has started running
fix(rules): ADR-064 L1 Redis 分散式鎖防止多 Pod 重複生成規則
問題: _generating set 是進程級,多 Pod 各自獨立,同一 alertname 可能被
  多個 Pod 同時送給 Ollama/Gemini 生成規則

修復: SET NX EX lock_key — 只有第一個 Pod 能取鎖,其他 Pod 直接跳過
降級: Redis 不可用時 fallback 進程級 set(保持原有行為)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 12:03:51 +08:00
..