summary refs log tree commit diff
path: root/changelog.d/6102.bugfix
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-10-23 15:31:59 +0100
committerGitHub <noreply@github.com>2019-10-23 15:31:59 +0100
commitc97ed64db3d99680819ec4dcd88ea76f3d0c7537 (patch)
treee57cfb8336c64aa23eb5be01d4d753974fcfcf72 /changelog.d/6102.bugfix
parentAdd config linting script that checks for bool casing (#6203) (diff)
downloadsynapse-c97ed64db3d99680819ec4dcd88ea76f3d0c7537.tar.xz
Make synapse_port_db correctly create indexes (#6102)
Make `synapse_port_db` correctly create indexes in the PostgreSQL database, by having it run the background updates on the database before migrating the data.

To ensure we're migrating the right data, also block the port if the SQLite3 database still has pending or ongoing background updates.

Fixes #4877 
Diffstat (limited to 'changelog.d/6102.bugfix')
-rw-r--r--changelog.d/6102.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/6102.bugfix b/changelog.d/6102.bugfix
new file mode 100644
index 0000000000..cd288c2a44
--- /dev/null
+++ b/changelog.d/6102.bugfix
@@ -0,0 +1 @@
+Make the `synapse_port_db` script create the right indexes on a new PostgreSQL database.