fix: Redis 공유 제거 — 전용/외부로 통일 — 0.24.2
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@ -99,6 +99,10 @@ def reconcile_source(req: dict) -> str | None:
|
||||
# 앱이 맨 키/채널로 pub/sub 하면 NOPERM)라 **기본을 전용(local)**으로 → REDIS_URL 로 전권 사용(pub/sub 포함).
|
||||
# 명시 mode 는 존중. shared redis 는 프리픽스-인지 앱 전용(mode: shared 로 명시).
|
||||
mode = req.get("mode") or ("local" if stype == "REDIS" else "shared")
|
||||
if stype == "REDIS" and mode == "shared": # 통일: redis 는 공유(프리픽스) 비투명 → 항상 전용(local)
|
||||
log("⚠ Redis 는 공유(ACL 키/채널 프리픽스)가 pub/sub·맨키에 비투명이라 지원하지 않습니다 → 전용(local)으로 전환. "
|
||||
"외부 관리 redis 는 mode: remote 로.")
|
||||
mode = "local"
|
||||
match = next((s for s in cluster_services() if s.get("name") == name), None)
|
||||
if match and match.get("status") == "READY":
|
||||
cur = str(match.get("mode") or "").lower()
|
||||
|
||||
Reference in New Issue
Block a user