MatrixSynapse/synapse/storage
Erik Johnston 30848c0fcd Ignore incoming events for rooms that we have left
When synapse receives an event for a room its not in over federation, it
double checks with the remote server to see if it is in fact in the
room. This is done so that if the server has forgotten about the room
(usually as a result of the database being dropped) it can recover from
it.

However, in the presence of state resets in large rooms, this can cause
a lot of work for servers that have legitimately left. As a hacky
solution that supports both cases we drop incoming events for rooms that
we have explicitly left.

This means that we no longer support the case of servers having
forgotten that they've rejoined a room, but that is sufficiently rare
that we're not going to support it for now.
2017-10-03 11:18:21 +01:00
..
engines
schema Add old indices 2017-09-28 14:10:33 +01:00
util
__init__.py Fix up client ips to read from pending data 2017-06-27 14:46:12 +01:00
_base.py Define CACHE_SIZE_FACTOR once 2017-07-04 09:56:44 +01:00
account_data.py Perf: Don't filter events for push 2017-07-07 14:04:40 +01:00
appservice.py
background_updates.py
client_ips.py Merge pull request #2309 from matrix-org/erikj/user_ip_repl 2017-07-06 14:33:14 +01:00
deviceinbox.py
devices.py
directory.py
end_to_end_keys.py
event_federation.py
event_push_actions.py
events.py Make into list 2017-06-29 15:47:37 +01:00
filtering.py
keys.py Invalidate signing key cache when we gat an update 2017-09-20 01:32:42 +01:00
media_repository.py Up the limits on number of url cache entries to delete at one time 2017-09-28 14:27:27 +01:00
openid.py
prepare_database.py Delete expired url cache data 2017-09-28 12:18:06 +01:00
presence.py
profile.py
push_rule.py
pusher.py
receipts.py
registration.py
rejections.py
room.py
roommember.py Ignore incoming events for rooms that we have left 2017-10-03 11:18:21 +01:00
search.py
signatures.py
state.py Prefill forward extrems and event to state groups 2017-06-29 15:38:48 +01:00
stream.py
tags.py
transactions.py
user_directory.py