mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-31 17:43:26 -05:00
c84770b877
When creating a new table index in the background, guard against it existing already. Fixes https://github.com/matrix-org/synapse/issues/2135. Also, make sure we restore the autocommit flag when we're done, otherwise we get more failures from other operations later on. Fixes https://github.com/matrix-org/synapse/issues/1890 (hopefully).