summary refs log tree commit diff
path: root/synapse/storage/data_stores
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-01-30 17:55:34 +0000
committerGitHub <noreply@github.com>2020-01-30 17:55:34 +0000
commite0992fcc5be9e850a5007d1d09fea79bea949cf6 (patch)
tree968318a799fd0494b7b6a24b55373b4cea22d8a4 /synapse/storage/data_stores
parentMSC2260: Block direct sends of m.room.aliases events (#6794) (diff)
downloadsynapse-e0992fcc5be9e850a5007d1d09fea79bea949cf6.tar.xz
Log when we delete room in bg update (#6816)
Diffstat (limited to 'synapse/storage/data_stores')
-rw-r--r--synapse/storage/data_stores/main/state.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/data_stores/main/state.py b/synapse/storage/data_stores/main/state.py
index 9b6f68e777..4167f83c9b 100644
--- a/synapse/storage/data_stores/main/state.py
+++ b/synapse/storage/data_stores/main/state.py
@@ -365,6 +365,8 @@ class MainStateBackgroundUpdateStore(RoomMemberWorkerStore):
 
             left_rooms = set(room_ids) - joined_room_ids
 
+            logger.info("Deleting current state left rooms: %r", left_rooms)
+
             # First we get all users that we still think were joined to the
             # room. This is so that we can mark those device lists as
             # potentially stale, since there may have been a period where the