feat: 기존 완주 기록 랭킹 백필 엔드포인트 - #250
Merged
Merged
Conversation
신규 랭킹 기능 배포 전에 이미 쌓여있던 Record는 updateBestRecord 훅을 거친 적이 없어 Redis 랭킹에 반영되지 않는다. POST /internal/ranking/backfill로 전체 기록을 1회성으로 재계산한다. ZADD LT라 여러 번 실행해도 안전하다.
unam98
requested review from
RinRinPARK,
YuSuhwa-ve and
funnysunny08
as code owners
August 17, 2026 10:31
|
Important Review available on request
Reviews should be triggered manually for repositories with fewer than 10 stars. Select Trigger review above or comment ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
작업 배경
변경 사항
POST /internal/ranking/backfill:publicCourse가 있는 모든 기록을 순회하며updateBestRecord재실행RecordRepository#findAllByPublicCourseIsNotNull추가 (JOIN FETCH로 N+1 방지)Test Plan
./gradlew test통과🤖 Generated with Claude Code