A feature flag was turned on for 100% of users and caused errors. How do you handle it and prevent recurrence?
BeginnerScenarioReleases & Reliability Patterns
Answer
Situation read → Flags give a fast kill switch, but going straight to 100% skipped progressive rollout.
What I'd do →
- Turn the flag off immediately.
- Confirm recovery on the SLO dashboard.
- Postmortem: why did it go to 100% at once? Was the flag change reviewed?
- Prevent: require progressive rollout (1%, 10%, 50%, 100%) with monitoring, audit logs for flag changes, and annotations on dashboards for flag flips.
Why → Flag changes are production changes and need the same safety.
Interview tip → "Flag flips are deploys."
More on Releases & Reliability Patterns
A canary at 10% shows a 0.3% higher error rate than stable. Promote or roll back?IntermediateA downstream service is slow, and your service's retries are making it worse.IntermediateYou need to roll out a risky database schema change with zero downtime.AdvancedYour service calls five dependencies sequentially, and total latency is too high.IntermediateA third-party API you depend on has rate limits, and you're hitting them during peaks.BeginnerA canary deploy passed analysis, but the full rollout caused errors at 100%.Advanced