Open
Conversation
- 다중환경에서 lost update로 인한 데이터 적합성 문제를 해결하기 위해 락을 사용했습니다. - 은행 업무에서는 데이터 무결성을 지키는게 중요하다고 생각해서 비관적 락을 사용했습니다.
- 다중 환경에서 lost update로 인한 데이터 무결성 해결을 위해 비관적 락 사용
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.
구현 요구 사항
구현
메인 계좌, 적금 계좌 생성
일일 충전 한도
메인 계좌에서 적금 계좌로 입금
+관련 스터디를 하면서 read committed로 하더라도 데이터 일관성 문제가 발생하지 않을 것이라 생각해서 이후 변경을 고려 중에 있습니다.
+메인 계좌 -> 적금 계좌로 입금하는 기능에서 적금 계좌 조회 시 락을 안걸고 처리했는데 step2에서 수정하여 반영하였습니다.
+테스트 코드는 아직 작성하지 못했습니다. 빠른 시일 내에 추가하도록 하겠습니다.