summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-05-07 15:33:57 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-05-07 15:33:57 +0100
commit88d8a7cd19cefcfddbacc6d2ee25248aff1fc3cb (patch)
tree38ffd49b82b68031314a8b173e714e35849a5d08
parentUp get_users_in_room cache size again (diff)
downloadsynapse-github/anoa/get_users_in_room_debugging.tar.xz
-rw-r--r--synapse/replication/slave/storage/events.py1
-rw-r--r--synapse/storage/data_stores/main/events.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py
index 15011259df..7898de81d3 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -135,6 +135,7 @@ class SlavedEventStore(
             )
 
             if data.type == EventTypes.Member:
+                logger.info("INVALIDATING get_rooms_for_user_with_stream_ordering")
                 self.get_rooms_for_user_with_stream_ordering.invalidate(
                     (data.state_key,)
                 )
diff --git a/synapse/storage/data_stores/main/events.py b/synapse/storage/data_stores/main/events.py
index e71c23541d..25db63ed2f 100644
--- a/synapse/storage/data_stores/main/events.py
+++ b/synapse/storage/data_stores/main/events.py
@@ -605,6 +605,7 @@ class EventsStore(
             }
 
             for member in members_changed:
+                logger.info("INVALIDATING get_rooms_for_user_with_stream_ordering")
                 txn.call_after(
                     self.get_rooms_for_user_with_stream_ordering.invalidate, (member,)
                 )