-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature/be] 동시성으로 인한 데이터 정합성 문제 해결 (#790)
* [BE] 리뷰 작성 시 제품 통계 정보의 정합성을 맞추도록 수정 (#784) * feat: 제품 통계 정합성 맞추는 쿼리 작성 * refactor: 서비스에서 제품 통계 업데이트를 쿼리를 직접 사용하도록 수정 * [BE] 데이터 정합성을 맞추는 스케줄러 작성 (#789) * feat: 회원 팔로워 수의 데이터 정합성을 배치 처리하는 쿼리 작성 * refactor: 서비스 레이어에서 명시적 flush 대신 벌크 쿼리의 flushAutomatically 모드를 true로 설정 * feat: 1시간마다 회원의 팔로워 수 정합성을 맞추는 배치 쿼리를 실행하는 스케줄러 구현 * fix: 스케줄러가 테스트 환경에서는 빈으로 등록되지 않도록 수정 * [BE] 회원 정합성 문제 해결 배치 스케줄 대신 실시간으로 정합성을 맞추는 쿼리로 교체 (#809) * feat: 팔로워 수를 증가 / 감소 시키는 쿼리 작성 * refactor: 더티 체킹 대신 팔로워 수 조작 쿼리를 사용하도록 수정 * fix: 불필요한 쿼리 및 객체 제거 * refactor: 코드리뷰 반영
- Loading branch information
1 parent
f47feef
commit b733390
Showing
16 changed files
with
237 additions
and
316 deletions.
There are no files selected for viewing
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
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
11 changes: 0 additions & 11 deletions
11
...src/main/java/com/woowacourse/f12/exception/badrequest/InvalidFollowerCountException.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.