Merged
Conversation
local용 gitignore추가
단일 종목에 대해 여러 주문들이 동시에 들어온다고 하더라도, 체결은 종목마다 단일 스레드에서 처리되도록 수정했습니다.
동시성 이슈를 비관적 락 + repeatable_read로 대응한 버전입니다.
주문이 user 패키지에 정의된 repository를 참조하도록 변경했습니다. lock, timeout등의 공통로직들이 적용되어야 하기 때문에 통합시키는것이 좋다고 판단했습니다.
동시성 테스트를 추가하면서 테스트 내용을 더 잘 분석할 수 있도록 로그 설정과 base 테스트를 수정했습니다.
read_committed 로 변경
- 데이터 정합성(무결성) 테스트 필요
Junh-b
requested changes
Jun 11, 2025
Contributor
Junh-b
left a comment
There was a problem hiding this comment.
수정내용 확인했습니다.
account, wallet 관련 로직도 더 깔끔해졌고, 동시성 이슈도 실마리가 보여서 이번 pr로 큰산 하나를 넘은 것 같네요
gitignore, build.gradle 등 수정 내역중 일부는 dev에 합쳐지지 않는 것이 좋을 것 같아 리뷰를 남겨드렸으니 확인 부탁드립니다.
나머지 작은 수정사항들은 제가 별도 브랜치에서 수정토록 하겠습니다.
src/main/java/com/cleanengine/coin/user/info/application/AccountService.java
Show resolved
Hide resolved
...java/com/cleanengine/coin/order/adapter/out/persistentce/account/OrderAccountRepository.java
Outdated
Show resolved
Hide resolved
This was
linked to
issues
Jun 11, 2025
Closed
Contributor
Author
TradeQueueManager를 아예 삭제해서 상관없습니다 ㅋㅋ 리뷰 감사합니다 |
테스트 편의를 위해 잠시 추가했었던 설정 수정내용을 원래대로 복원했습니다.
각 영역에서 별도의 목적으로 사용중이던 Repository 클래스를 제거하고, 통일된 Repository를 사용하도록 변경했습니다.
# Conflicts: # src/main/java/com/cleanengine/coin/trade/application/TradeQueueManager.java
Junh-b
approved these changes
Jun 12, 2025
This file contains hidden or 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
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.

✨ 작업내용
🐞 이슈사항