hotfix: MySQL 초기화 완료 판정 로직 수정#60
Conversation
|
Warning Review limit reached
Next review available in: 43 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Terraform Plan:
|
Terraform Plan:
|
관련 이슈
작업 내용
mysqladmin ping에서 root 인증 기반 쿼리 실행으로 변경했습니다.scadmin유저 생성 SQL이 실행되도록 순서를 보강했습니다.특이 사항
문제 원인은
mysqladmin ping이 MySQL 서버 프로세스 응답 여부만으로 성공할 수 있어, root 인증이 아직 가능한 상태가 아닌데도 bootstrap이 다음 단계로 넘어간 점이었습니다. 이 때문에CREATE USER실행 시점에ERROR 1045 (28000): Access denied for user 'root'@'localhost'가 발생했고, cloud-init final stage가 실패했습니다.변경 후에는
mysql -uroot -p... -e "SELECT 1"이 성공해야만 준비 완료로 판단하므로, root 인증과 쿼리 실행이 모두 가능한 상태에서 유저 생성이 진행됩니다.리뷰 요구사항 (선택)
bash -n modules/app_stack/scripts/mysql_setup.sh.tftpl,git diff --check, prodterraform plan확인 완료 (Plan: 2 to add, 0 to change, 2 to destroy).