diff options
author | Erik Johnston <erikj@jki.re> | 2016-09-12 14:38:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-12 14:38:40 +0100 |
commit | 7c679b111887025d1507882ad8ea4b914982a0c2 (patch) | |
tree | 56fb03f476f1840bf2ac828862456fc71b62c6f9 /synapse/storage/state.py | |
parent | Merge pull request #1105 from matrix-org/erikj/make_notif_highlight_query_fast (diff) | |
parent | Create new index concurrently (diff) | |
download | synapse-7c679b111887025d1507882ad8ea4b914982a0c2.tar.xz |
Merge pull request #1106 from matrix-org/erikj/state_reindex_concurrent
Create new index concurrently
Diffstat (limited to 'synapse/storage/state.py')
-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( |