Repository navigation
fix(asg): bound app DB waits after switchover with socket timeouts - #772
Merged
Merged
Conversation
… connect timeouts A new pool connection opened to the old DB right before the VIP move could wait 53 s for a reply that never came, leaving the Hikari pool empty and the app unhealthy. Add connectTimeout=3000 and socketTimeout=10000 to the app DB_URL, and give Flyway its own untimed URL and credentials so long migrations are not cut. Record the 12 AWS rounds and the local blackhole test in ADR-0012 and the switchover README. Refs #760
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.
1. 📝 요약
After a replica switchover one new pool connection hung 53 s, emptying the Hikari pool. App DB_URL now has connectTimeout 3 s and socketTimeout 10 s.
2. 🔧 변경 사항
3. 🔎 리뷰 포인트
4. 🧪 테스트
5. 🔗 관련 이슈
Closes #760