CI/CD, GitOps & Delivery
Database migration safety
PostgreSQL schema changes take table locks, and a waiting ALTER can queue every later query behind it, so migrations need short lock waits and small steps.
What you will be able to do
- Explain why a waiting lock request blocks later queries on the same table.
- Plan a migration in steps with lock_timeout and batched backfills.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in CI/CD, GitOps & Delivery
- Drift alertsAdvanced · 5 min
Drift is a gap between code and live infrastructure, and a scheduled refresh-only check reports it without changing anything, so an owner can decide what to do.
- Feature flagsAdvanced · 5 min
A feature flag changes behavior at run time, and a stable targeting key and a safe default decide whether a rollout is predictable for each user and each failure case.
- Release incident responseAdvanced · 5 min
Release incident response starts with reducing harm, such as a rollback, then uses one lead, one operator and a clear timeline to coordinate the recovery.
- Progressive delivery: operational verificationAdvanced · 4 min
Progressive delivery moves traffic only when operational verification passes, which means checks on user-facing error rate and tail latency, compared with the stable…