Flagsmith outage, 12 September 2023
Identity integrations are not being triggered
- Started
- Resolved
- 12 Sept 2023, 12:15 UTC (after 1 h)
- Impact
- Minor
- Affected
- Edge API
Is this still happening?
No. Flagsmith marked this incident resolved on 12 Sept 2023, 12:15 UTC, 1 h after it began.
Right now: Flagsmith reports all systems operational. (as of 1 Dec, 21:52 UTC) Live Flagsmith status
At a glance
- Flagsmith rated this a minor incident.
- It was resolved after 1 h. That is shorter than a typical Flagsmith incident: the median of the 18 other resolved ones we recorded is 1 h 27 min.
- Flagsmith had 1 other incident in the 30 days before it.
- 5 earlier incidents look like the same kind of problem (same affected part or wording); the most recent was on 22 Jan 2026.
Our summary from the Flagsmith incidents we have recorded since 27 Feb 2023 - how we count.
What caused it: Flagsmith's root cause analysis
## **Summary** On September 5th at 09:45 UTC, we initiated a release that included a database migration aimed at introducing a new constraint to the table containing information related to flags. According to our pre-live tests, this task should not have taken more than 50 milliseconds. Unfortunately, during the release to production, due to the high throughput on a particular table that it needed to acquire a temporary lock on, this caused a backlog of blocked connections waiting on the migration to complete. This caused a knock on effect that exhausted the connections on the database and a full restart was necessary. Once the restart was complete, the connections were restored and service was resumed. This happened at 10:20 UTC. ## **Next Steps** We have researched the cause of the issue and we do still have further research to understand certain aspects. Our current plan in the meantime is to implement certain safeguards as can be found in the following links to the Postgres documentation which should help reduce any impact in the future. [https://www.postgresql.org/docs/11/runtime-config-client.html](https://www.postgresql.org/docs/11/runtime-config-client.html) [https://www.postgresql.org/docs/11/runtime-config-logging.html](https://www.postgresql.org/docs/11/runtime-config-logging.html) \(`log_lock_waits`\)
Last update from Flagsmith
## **Summary** On September 5th at 09:45 UTC, we initiated a release that included a database migration aimed at introducing a new constraint to the table containing information related to flags. According to our pre-live tests, this task should not have taken more than 50 milliseconds. Unfortunately, during the release to production, due to the high throughput on a particular table that it needed to acquire a temporary lock on, this caused a backlog of blocked connections waiting on the migration to complete. This caused a knock on effect that exhausted the connections on the database and a full restart was necessary. Once the restart was complete, the connections were restored and servic...
Read the full incident on the official Flagsmith status page
Similar Flagsmith incidents
Earlier incidents with the same affected part or wording - useful to see how long this kind of problem usually takes.
-
, resolved after 33 min
Environment based integrations not working for Edge APIPostmortem
-
, resolved after 1 h 44 min
-
, resolved after 16 min
-
, resolved after 2 days
Small number of intermittent requests to Edge API failingPostmortem
-
, resolved after 1 h 9 min
Increased error rates on the Edge APIPostmortem
Other recent Flagsmith incidents
Something wrong on this page?
Thanks - your report is on its way to us. We read every one.