Project

General

Profile

Actions

결함 #513

open

[버그][P1] Redis 읽기 경로 미보호 → 캐시 장애/손상 시 차트 조회 전체 500 (DB fallback 없음)

Added by joungmin ko about 2 months ago. Updated about 2 months ago.

Status:
해결
Priority:
높음
Assignee:
-
Start date:
06/27/2026
Due date:
% Done:

100%

Estimated time:

Description

ChartController 캐시 히트 분기에서 opsForValue().get()+readValue()가 try/catch 밖(:75,139,178,200,250,272 등). DB fallback은 miss 분기에만 존재.
→ Redis 장애 시 /list,/year,/artist 등 주요 읽기경로가 500. 손상된 캐시 1건은 TTL(1h)까지 해당 엔드포인트 다운.
수정: read+deserialize를 try/catch로 감싸 실패 시 키 삭제+DB로 폴백. read-through 공용 헬퍼로 7곳 통합 권장.

— 6-페르소나 코드리뷰(2026-06-27)에서 도출. 소스 검증 완료. [AI 등록]

Actions #1

Updated by joungmin ko about 2 months ago

  • Status changed from 신규 to 해결
  • % Done changed from 0 to 100

커밋 a279c3e. 빌드·재기동·스모크 검증 완료. readCache/writeCache 헬퍼로 Redis 오류 시 DB 폴백. /list,/year,/artist 등 200 확인. [AI 조치]

Actions

Also available in: Atom PDF