fix/OPS-403 : 공유 스페이스 썸네일 삭제 문제#185
Merged
Hidden character warning
The head ref may contain hidden characters: "OPS-403-BE-fix-\uacf5\uc720-\uc2a4\ud398\uc774\uc2a4-\uc378\ub124\uc77c-\uc0ad\uc81c-\ubb38\uc81c"
Merged
Conversation
EpicFn
approved these changes
Oct 15, 2025
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.
📢 기능 설명
도메인 계층(DataSourceService)
S3 삭제 로직 제거
이제 도메인은 DB 레코드 삭제만 수행.
개인 아카이브(PersonalDataSourceService)
deleteOne / deleteMany에서 DB 삭제 전에 S3 삭제 시도
예상 키: personal_{memberId}/ds_{dataSourceId}
deleteIfOwnedByExactKey() 호출 → 정확히 일치할 때만 S3 객체 삭제
이후 domain.hardDelete 호출로 DB 레코드 삭제
공유 아카이브(SpaceDataSourceService)
deleteOne / deleteMany는 S3 삭제 미수행(현 정책)
→ DB 레코드만 삭제, S3는 보존
🩷 Approve 하기 전 확인해주세요!
✅ 체크리스트