배포 중 liquibase checksum 검증 실패를 복구한다#116
Merged
Merged
Conversation
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.
개요
production Railway 배포가 애플리케이션 부팅 단계에서 실패하는 문제를 복구합니다.
로그를 확인해보니 빌드 자체는 성공했지만, 컨테이너가 올라오면서 Liquibase가 실행되는 시점에
db.changelog-master.yaml::13-room-game-cleanup::codex의 checksum 불일치로 검증에 실패하고 있었습니다. 이 때문에 healthcheck가 계속service unavailable로 떨어졌고, 최종적으로 Railway deployment가 실패 처리되었습니다.원인
9:ab793f9c89fa3ff8af0afacad5e1391f입니다.9:7b52d6e541238e023a5984676f98e06a로 달라졌습니다.즉, 기능 로직 문제가 아니라 "이미 실행된 마이그레이션의 checksum이 바뀐 것"이 직접 원인이었습니다.
변경사항
13-room-game-cleanupchangeSet에 기존 production checksum을validCheckSum으로 허용했습니다.기대 효과
검증
./gradlew test./gradlew integrationTest./gradlew check