release: develop → main#228
Merged
Merged
Conversation
종료된 투표마다 매 분 반복 조회·이벤트 발행되던 문제를 해결한다. vote.ended_processed_at 마커로 스케줄러가 투표당 한 번만 VoteEndedEvent를 발행하고, notification 테이블 유니크 제약으로 동시 처리 시 중복 알림을 방지한다.
H2 CI Flyway 호환을 위해 partial index, DELETE USING, partial unique index를 표준 CREATE INDEX, 서브쿼리 DELETE, UNIQUE 제약으로 교체한다.
스케줄러 ended_processed_at 마커로 중복 트리거가 방지되므로 notification DELETE/UNIQUE 제약은 불필요하다.
…tification feat: 투표 종료 후속 처리 멱등성 개선
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.
Release: develop → main
develop 브랜치의 변경사항을 main으로 배포합니다.
버전은 main 머지 시점에 자동으로 확정됩니다.
Changes