Skip to content

Conversation

@dlsrks1021
Copy link
Collaborator

🛰️ Issue Number

🪐 작업 내용

게임 종료 후 랭킹 점수 반영에서 예외가 발생하며 정상 종료가 되지 않고 랭킹도 업데이트되지 않는 문제가 존재했습니다.

랭킹 점수 반영의 예외는 Redis의 HashValue 값 중 winningGames와 totalGames가 Long Object 형태로 존재하면서 HashValue의 increase 연산이 정상 진행되지 않아 발생했습니다.

이에 따라 아래와 같은 내용을 수정했습니다.

  • RedisTemplate의 HashKey 및 HashValue의 Serializer를 StringRedisSerializer로 변경
  • HashValue에 Long 값 저장 및 불러오기 시 String을 기준으로 수행하도록 변경

📚 Reference

✅ Check List

  • 코드가 정상적으로 컴파일되나요?
  • 테스트 코드를 통과했나요?
  • merge할 브랜치의 위치를 확인했나요?
  • Label을 지정했나요?

@dlsrks1021 dlsrks1021 self-assigned this Jul 30, 2025
@dlsrks1021 dlsrks1021 added the bug Something isn't working label Jul 30, 2025
@dlsrks1021 dlsrks1021 linked an issue Jul 30, 2025 that may be closed by this pull request
Copy link
Collaborator

@silver-eunjoo silver-eunjoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 !

Copy link
Collaborator

@jiwon1217 jiwon1217 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다아 !

Copy link
Collaborator

@LimKangHyun LimKangHyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다!

@dlsrks1021 dlsrks1021 merged commit 4e7ad27 into dev Jul 31, 2025
3 checks passed
@dlsrks1021 dlsrks1021 deleted the fix/169 branch July 31, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fix] 게임 종료 후 점수, 랭킹이 반영되지 않는 문제

5 participants