summary refs log tree commit diff
diff options
context:
space:
mode:
-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,)
                 )