-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: apiCall 동시성 이슈를 분산락에서 비관적 락으로 대체 (#947)
* chore: redis 관련 파일 삭제 * style: 불필요한 import문 삭제 * refactor: 오후 11시 55분마다 초기화로직 작성 * refactor: 초기 0 count 저장 로직 작성 * test: 변화된 로직에 맞게 테스트 수정 * refactor: apiCall 저장 로직 추가 * refactor: entityManager clear 로직 추가 * test: routeClient 초기화함수로 수정 * test: 공통좌표를 상수로 분리 * test: baseTest에 오늘일자 apiCall저장 setUp 추가 * refactor: 락 조회 메서드 통일로 동시성 이슈 해결 * style: 잘못된 개행 추가 * test: apiCall 초기화 테스트 진행 * chore: 변수명 변경 routeclientManager > routeClientManager * feat: 오류를 복구하도록 저장
- Loading branch information
1 parent
5246033
commit a89b34c
Showing
21 changed files
with
130 additions
and
467 deletions.
There are no files selected for viewing
22 changes: 0 additions & 22 deletions
22
backend/src/main/java/com/ody/common/aop/DistributedLock.java
This file was deleted.
Oops, something went wrong.
64 changes: 0 additions & 64 deletions
64
backend/src/main/java/com/ody/common/aop/DistributedLockAop.java
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
backend/src/main/java/com/ody/common/redis/RedissonLockManager.java
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
56 changes: 0 additions & 56 deletions
56
backend/src/main/java/com/ody/route/service/RouteClientCircuitBreaker.java
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.