You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
문제1: /api/finance-mbti/test 호출 시 Lock wait timeout (500) 에러 발생
member와 codef_connection 테이블에 대해 두 트랜잭션이 서로 다른 순서로 락을 획득하면서 교착 상태가 발생하였고, 이를 해결하기 위해 락 획득 순서를 member → codef_connection으로 통일하고, 외부 CODEF API 호출을 트랜잭션 밖으로 분리합니다.
문제2: 운영 서버에서 모든 API 요청이 30초 타임아웃 후 실패하는 현상 발생 (Could not open JPA EntityManager for transaction)
@Transactional 메서드 내 외부 API 호출로 인한 커넥션 장기 점유로 인해 발생하였습니다. 이를 트랜잭션 범위를 조정하여 해결합니다.