Skip to content

Chore : Redis Config 설정 #370

@seongjunnoh

Description

@seongjunnoh

📝 이슈 설명

갑자기 로그인 이후 발급한 토큰을 redis에 save 하는 연산에서 아래와 같은 에러가 발생

org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lettuce.core.RedisReadOnlyException: READONLY You can't write against a read only replica.

-> replica가 쓰기연산을 수행하려고해서 발생하는 에러

일단 https://velog.io/@u_lim/Redis-RedisReadOnlyException-%ED%95%B4%EA%B2%B0 블로그 참고해서 임시방편으로 dev 서버에 딸린 redis의 replica도 쓰기연산 할 수 있도록 해놓은 상태

redis config 파일에 에러 핸들링을 위한 코드 추가해야 할 듯

✅ 투두리스트

  • [ ]
  • [ ]

📸 구현 화면 (선택)

참고 사항

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingimportant featimportant for prodto stability안정성을 위한 코드

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions