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

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`\)

Read the full postmortem from Flagsmith

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...

13 Sept 2023, 08:43 UTC

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.

  1. , resolved after 33 min

    Environment based integrations not working for Edge APIPostmortem

  2. , resolved after 1 h 44 min

    Data parsing issues in Edge API

  3. , resolved after 16 min

    Delayed asynchronous task processing

  4. , resolved after 2 days

    Small number of intermittent requests to Edge API failingPostmortem

  5. , resolved after 1 h 9 min

    Increased error rates on the Edge APIPostmortem

Other recent Flagsmith incidents

  1. Admin and SDK API outage

  2. Delays processing flag changes

  3. Numeric values incorrectly being converted to numbers in environment documentsPostmortem

  4. Task processor down

  5. Flagsmith dashboard not loading

  6. Public Website DownPostmortem

  7. Issues persisting identities with empty trait values

  8. Increased API latency

All recorded Flagsmith incidents

Something wrong on this page?

A person reads every report. We fix our own mistakes - wording, mapping, a moved status page; the status itself always comes from Flagsmith's official page. How we handle corrections.

Thanks - your report is on its way to us. We read every one.