1. 맵 5개를 volatile + ConcurrentHashMap으로 변경
- 비동기 읽기(isGroupPass 등) 중 HashMap 구조 변경으로 발생하던 race condition 제거
2. initAdapter/Interface/Group()에서 빌드-완성 후 원자적 교체 패턴 적용
- 신규 맵을 완전히 구성한 뒤 this.field = newMap으로 한 번에 교체
- 구→신 전환 중 불완전 상태가 외부에 노출되던 문제 제거
3. removeAdapter/Interface/Group()에 synchronized 추가
- 락 없이 맵을 수정하던 메서드와 reload 사이의 race condition 방지
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
groupBucketList private 필드에 리플렉션 없이 접근할 수 있도록
getGroupBucket(String groupId) public 메서드 제공.
그룹 테이블 테스트 픽스처 SQL 추가 및 InflowControlManagerTest에
getGroupBucket() 동작 검증 테스트 케이스 2개 추가.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
표준전문 InterfaceID에 SEND_RECV_DIVISION·IN_EX_DIVISION 포함 여부 결정 전까지
mapper.setInterfaceId() 호출을 주석 처리 및 TODO 표기.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
toByteArray() / getBytesDataLength() GROUP 케이스에서
size==0 이면 refPath/refValue 유무와 무관하게 무조건 skip 하도록 변경.
(toJson() 동작과 일치)
기존 로직은 refPath 또는 refValue 가 없는 경우에만 skip 하여,
조건부 블록(EZDATA, MSG 등)이 비활성 상태(size=0, isHidden=false)일 때도
FLAT 바이트에 잘못 포함되는 문제가 있었음.
→ FlatReader 파싱 시 오프셋 불일치로 overflow 예외 또는 DATA 필드 오염 발생.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
TrustAllStrategy 사용 시에도 DefaultHostnameVerifier가 적용되어
외부 testmaster 인증서 hostname mismatch 오류 발생.
testMode(-Duse.test.trust=y)일 때 NoopHostnameVerifier 적용하여 해결.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- UnkownMessageLogUtils 추가: unknown 메시지 발생 시 DB 에러 로그 기록
- HttpAdapterServiceSupport: transactionId 추출을 try 블록 외부로 이동,
예외 분기 처리(HttpStatusException/JwtAuthException/Exception) 및 UnkownMessageLogUtils 연동
- ApiAuthFilter: eaiSvcCd 강제 덮어쓰기 로직 주석처리 (STDMessage 조회값 우선 사용)
- MessageUtil: ERROR_MESSAGE_DEFAULT_FORMAT을 표준 OAuth2 에러 형식으로 변경
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
source(/dev/random)에서 랜덤시드값 가져올때, 오래걸림 이슈.
-Djava.security.egd=file:/dev/./urandom 설정이 들어가있지만,
java security provider가 BC사용중이라 안먹는 것 같음.
provider를 바꾸자니 성능 테스트 진행 중이라 영향이 갈수있으므로, Pooling 방식 제거.