-
Notifications
You must be signed in to change notification settings - Fork 1
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
[feat] 할인 쿠폰 분산락 적용 #140
Merged
The head ref may contain hidden characters: "feature/132_june-777-kimhyun5u_\uD560\uC778\uCFE0\uD3F0-\uBD84\uC0B0\uB77D-\uC801\uC6A9"
Merged
[feat] 할인 쿠폰 분산락 적용 #140
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
- DistributedLock 애노테이션이 붙은 메서드의 파라미터를 동적으로 매핑하기 위함 Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
- 분산락을 적용한 할인 쿠폰 발급 메서드에서 사용하기 위함 Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
- 락 대기 시간 초과 시 예외 발생 로직 추가 - 락이 안 걸려 있으면 락 해제 시도 안하도록 수정 Co-authored-by: june-777 <wlwhswnsrl96@gmail.com>
- rLock.tryLock: InterruptedException - rLock.unlock: IllegalMonitorStateException Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
Co-authored-by: kimhyun5u <22kimhyun5u@gmail.com>
…kimhyun5u_할인쿠폰-분산락-적용 # Conflicts: # build.gradle # src/test/java/camp/woowak/lab/container/ContainerSettingTest.java
Hyeon-Uk
approved these changes
Aug 28, 2024
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.
aop가 정말로 잘 작동되는지 통합테스트를 추가해서 확인하시면 더 안심하고 개발할 수 있습니다! 👍
Dr-KoKo
approved these changes
Aug 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
💡 다음 이슈를 해결했어요.
Issue Link - #132
💡 이슈를 처리하면서 추가된 코드가 있어요.
AOP 기반 Redisson 분산락 적용
Team1-3K1K/src/main/java/camp/woowak/lab/infra/aop/DistributedLockAop.java
Lines 1 to 54 in 9a48ec0
AOP 단위로 트랜잭션 시작 로직 적용
CustomSpringELParser
💡 이런 고민을 했어요.
✅ 셀프 체크리스트