diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2017-04-27 15:27:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 15:27:48 +0100 |
commit | c84770b87724c6cd84f4127e52b5a66354b8912e (patch) | |
tree | 9a046983af28ad8b6533d2badd213ab661d30812 /scripts-dev/definitions.py | |
parent | Merge pull request #2168 from matrix-org/erikj/federation_logging (diff) | |
download | synapse-c84770b87724c6cd84f4127e52b5a66354b8912e.tar.xz |
Fix bgupdate error if index already exists (#2167)
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).
Diffstat (limited to 'scripts-dev/definitions.py')
0 files changed, 0 insertions, 0 deletions