summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2023-10-27 20:14:02 +0100
committerGitHub <noreply@github.com>2023-10-27 20:14:02 +0100
commit747416e94cd8f137b9173c132f7c44ea1c59534d (patch)
tree45577046da6c852daaa8fd6cc8b4ba2fddea3a99
parentcomplement: enable dirty runs (#16520) (diff)
downloadsynapse-747416e94cd8f137b9173c132f7c44ea1c59534d.tar.xz
Portdb: don't copy a table that gets rebuilt (#16563)
-rw-r--r--changelog.d/16563.misc1
-rwxr-xr-xsynapse/_scripts/synapse_port_db.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/16563.misc b/changelog.d/16563.misc
new file mode 100644
index 0000000000..e433659e8f
--- /dev/null
+++ b/changelog.d/16563.misc
@@ -0,0 +1 @@
+Stop porting a table in port db that we're going to nuke and rebuild anyway.
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py
index ab2b29cf1b..ef8590db65 100755
--- a/synapse/_scripts/synapse_port_db.py
+++ b/synapse/_scripts/synapse_port_db.py
@@ -191,7 +191,7 @@ IGNORED_TABLES = {
     "user_directory_search_stat",
     "user_directory_search_pos",
     "users_who_share_private_rooms",
-    "users_in_public_room",
+    "users_in_public_rooms",
     # UI auth sessions have foreign keys so additional care needs to be taken,
     # the sessions are transient anyway, so ignore them.
     "ui_auth_sessions",