diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-02-17 16:33:04 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-02-17 16:33:04 +0000 |
commit | 7718fabb7a20cafef019a8f3642915fa99d66115 (patch) | |
tree | 426c33e4f96208d98f9f569e20b2788ef687f838 /synapse | |
parent | Merge tag 'v1.10.0' (diff) | |
parent | 1.10.1 (diff) | |
download | synapse-7718fabb7a20cafef019a8f3642915fa99d66115.tar.xz |
Merge branch 'release-v1.10.1'
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/__init__.py | 2 | ||||
-rw-r--r-- | synapse/storage/data_stores/main/schema/delta/57/delete_old_current_state_events.sql | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/synapse/__init__.py b/synapse/__init__.py index 9d285fca38..8313f177d2 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -36,7 +36,7 @@ try: except ImportError: pass -__version__ = "1.10.0" +__version__ = "1.10.1" if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)): # We import here so that we don't have to install a bunch of deps when diff --git a/synapse/storage/data_stores/main/schema/delta/57/delete_old_current_state_events.sql b/synapse/storage/data_stores/main/schema/delta/57/delete_old_current_state_events.sql index a133d87a19..aec06c8261 100644 --- a/synapse/storage/data_stores/main/schema/delta/57/delete_old_current_state_events.sql +++ b/synapse/storage/data_stores/main/schema/delta/57/delete_old_current_state_events.sql @@ -15,5 +15,8 @@ -- Add background update to go and delete current state events for rooms the -- server is no longer in. -INSERT into background_updates (update_name, progress_json) - VALUES ('delete_old_current_state_events', '{}'); +-- +-- this relies on the 'membership' column of current_state_events, so make sure +-- that's populated first! +INSERT into background_updates (update_name, progress_json, depends_on) + VALUES ('delete_old_current_state_events', '{}', 'current_state_events_membership'); |