Skip to content

FIX: Preserve initial connection observers during ArcusClient initialization - #1114

Merged
jhpark816 merged 1 commit into
naver:developfrom
f1v3-dev:fix/observer
Sep 10, 2026
Merged

FIX: Preserve initial connection observers during ArcusClient initialization#1114
jhpark816 merged 1 commit into
naver:developfrom
f1v3-dev:fix/observer

Conversation

@f1v3-dev

Copy link
Copy Markdown
Collaborator

🔗 Related Issue

⌨️ What I did

  • CacheManager.initArcusClient() 메서드에서 사용자가 설정한 초기 observer를 덮어쓰지 않도록 수정합니다.
  • ArcusClient 생성 시 초기 observer가 유지되는지 검증하는 테스트를 추가했습니다.

@f1v3-dev
f1v3-dev requested a review from oliviarla August 28, 2026 08:24
@f1v3-dev f1v3-dev self-assigned this Aug 28, 2026

@oliviarla oliviarla left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다음 PR로 아래 사항 수정하는 작업을 진행해야 할 것 같습니다.

  • 지금은 옵저버 객체들의 메서드를 순차 호출하는 도중 예외가 발생하면, 이후의 옵저버 메서드가 호출되지 않는 형태이다.
  • MemcachedConnection에서 connObservers 돌면서 옵저버 객체의 메서드 호출할 때, 예외 try-catch 하고 warning log 를 남긴다.

Comment thread src/main/java/net/spy/memcached/ConnectionFactoryBuilder.java
@oliviarla
oliviarla requested a review from jhpark816 September 10, 2026 04:54
@jhpark816
jhpark816 merged commit 5a53f4d into naver:develop Sep 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants