You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a schema delta takes too long, Synapse will get restarted by systemd, possibly repeatedly.
~~When using postgres, schema deltas are transactional. Synapse will run the schema delta and time out again. ~~ When using sqlite, schema deltas are not fully transactional (see docstring here). The schema delta will end up being half applied and the database will end up in an inconsistent state. Depending on the nature of the schema delta, the next run may fail. Tracked in #14909.
This issue has been migrated from #14401.
When a schema delta takes too long, Synapse will get restarted by systemd, possibly repeatedly.
~~When using postgres, schema deltas are transactional. Synapse will run the schema delta and time out again. ~~
When using sqlite, schema deltas are not fully transactional (see docstring here). The schema delta will end up being half applied and the database will end up in an inconsistent state. Depending on the nature of the schema delta, the next run may fail.Tracked in #14909.This manifested as:
Things we may consider doing:
dmr: Make sqlite schema deltas transactional too?Tracked in Dummy issue #14909.The text was updated successfully, but these errors were encountered: