Skip to content

[FIX] #701: 솝탬프 캐시 저장 시 기수 정보를 고려하도록 변경#702

Merged
jher235 merged 2 commits intodevfrom
fix/#701
Mar 27, 2026
Merged

[FIX] #701: 솝탬프 캐시 저장 시 기수 정보를 고려하도록 변경#702
jher235 merged 2 commits intodevfrom
fix/#701

Conversation

@jher235
Copy link
Copy Markdown
Member

@jher235 jher235 commented Mar 26, 2026

Related issue 🛠

Work Description ✏️

  • 유저 생성, 삭제 시 기수 정보를 고려하여 캐싱하도록 로직 보완
  • 기존 캐싱 로직 리팩토링을 하며 새롭게 생성된 soptampUser를 모두 캐시에 저장하여 활동 기수 이외의 soptampUser가 노출될 수 있는 상황이었기에 이를 수정함

Related ScreenShot 📷

To Reviewers 📢

@jher235 jher235 added the 🛠️ BugFix 버그 해결 label Mar 26, 2026
@github-actions github-actions bot requested a review from kyoooooong March 26, 2026 17:35
- @beforeeach로 기수와 appjamMode를 컨트롤하도록 명시
@jher235 jher235 merged commit d58937d into dev Mar 27, 2026
2 checks passed
Copy link
Copy Markdown

@kyoooooong kyoooooong left a comment

Choose a reason for hiding this comment

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

너무 수고 많으셨습니다!! 🫡 만약 테스트가 조금 중요하다면, 테스트에서도 현재 기수가 아닌 유저에 대해서는 이벤트가 발행되지 않는 케이스가 있어도 좋을 것같아요! 하지만 테스트가 비중이 높지 않다면 없어도 좋을 것같습니다 👍

);

eventPublisher.raise(SoptampUserAllCacheSyncEvent.of(userId));
this.raiseAllCacheSyncEvent(registeredUser);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

아 이벤트를 바로 발행하는게 아니라 현재 기수일 때만 발행하도록 하신 건가요? 너무 좋습니다 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛠️ BugFix 버그 해결

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX] 솝탬프 캐시 저장 시 기수를 고려하도록 변경

2 participants