Skip to content

Conversation

@Umjiseung
Copy link
Member

개요

매치 알림을 토클하면 생기는 엔티티에서 연관관계가 잘못 설정 되어 있어 해결하였고 동시성 문제가 일어나 동시성 제어 하였습니다.

본문

  • tbl_match_notification 엔티티에서 matchId가 OneToOne으로 설정되어 UNIQUE 제약 조건이 걸려 생기던 오류를 ManyToOne으로 변경하여 해결하였습니다.
  • 알림 토클을 하면서 동시성 문제가 발생하여 row lock을 걸어 제어하였습니다

@Umjiseung Umjiseung requested a review from vumrra April 2, 2025 02:26
@Umjiseung Umjiseung self-assigned this Apr 2, 2025
@Umjiseung Umjiseung linked an issue Apr 2, 2025 that may be closed by this pull request
@Umjiseung Umjiseung changed the base branch from master to develop April 2, 2025 02:27
@Umjiseung Umjiseung merged commit 667ed39 into develop Apr 2, 2025
1 check passed
@vumrra vumrra mentioned this pull request Apr 2, 2025
@vumrra vumrra deleted the fix/match-notice-toggle-problem branch April 3, 2025 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[match] 매치 알림 토글 문제

3 participants