-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BE] fix: 리뷰, 레시피 좋아요 데드락, 동시성 이슈 수정 #474
Conversation
backend/src/main/java/com/funeat/member/domain/favorite/ReviewFavorite.java
Show resolved
Hide resolved
01a4802
to
ea15fa8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다!!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
동시성 해결 좋아요~~!
해결하기 전 데드락 상황에 대해 궁금하신 분들은 데드락 테코톡 올라오면 7분 쯤부터 확인하시길^^
backend/src/main/java/com/funeat/review/persistence/ReviewRepository.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
역시 db마스터 수고하셨습니다아~~
Issue
✨ 구현한 기능
likeReview
)랑 레시피(likeRecipe
)에 비관적 락을 걸었습니다.ReviewFavorite
), 레시피좋아요(RecipeFavorite
)는 유니크 제약 조건 추가했습니다.📢 논의하고 싶은 내용
🎸 기타
likeReview
기준)⏰ 일정