synapse-old/synapse/storage/databases
Erik Johnston bd558a6dc3
Speed up state res in rare case we don't have all events (#16116)
If we don't have all the auth events in a room then not all state events will have a chain cover index. Even so, we can still use the chain cover index on the events that do have it, rather than bailing and using the slower functions.

This situation should not arise for newly persisted rooms, as we check we have the full auth chain for each event, but can happen for existing rooms.

c.f. #15245
2023-08-18 15:32:06 +01:00
..
main Speed up state res in rare case we don't have all events (#16116) 2023-08-18 15:32:06 +01:00
state Fix a performance issue introduced in Synapse v1.83.0 which meant that purging rooms was very slow and database-intensive. (#15693) 2023-05-31 14:59:56 +01:00
__init__.py Check databases/__init__ and main/cache with mypy. (#15496) 2023-04-27 07:59:14 -04:00