diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-12 14:26:03 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-12 14:27:01 +0100 |
commit | 03a98aff3c4803b163802b784e05f1eacd03c444 (patch) | |
tree | f190c84628ab5b07ccc3c96c57d7b063469e3eba /synapse/storage | |
parent | Merge pull request #1104 from matrix-org/markjh/direct_to_device_federation_sync (diff) | |
download | synapse-03a98aff3c4803b163802b784e05f1eacd03c444.tar.xz |
Create new index concurrently
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py index f98d5d53ee..fdbdade536 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -820,7 +820,7 @@ class StateStore(SQLBaseStore): def reindex_txn(txn): if isinstance(self.database_engine, PostgresEngine): txn.execute( - "CREATE INDEX state_groups_state_type_idx" + "CREATE INDEX CONCURRENTLY state_groups_state_type_idx" " ON state_groups_state(state_group, type, state_key)" ) txn.execute( |