anonymousland-synapse/synapse/storage
Sean Quah 0a686d1d13
Faster joins: Refactor handling of servers in room ()
Ensure that the list of servers in a partial state room always contains
the server we joined off.

Also refactor `get_partial_state_servers_at_join` to return `None` when
the given room is no longer partial stated, to explicitly indicate when
the room has partial state. Otherwise it's not clear whether an empty
list means that the room has full state, or the room is partial stated,
but the server we joined off told us that there are no servers in the
room.

Signed-off-by: Sean Quah <seanq@matrix.org>
2023-02-03 15:39:59 +00:00
..
controllers Faster joins: Refactor handling of servers in room () 2023-02-03 15:39:59 +00:00
databases Faster joins: Refactor handling of servers in room () 2023-02-03 15:39:59 +00:00
engines Make sqlite database migrations transactional again, part two () 2023-01-31 11:03:55 +00:00
schema Drop unused table presence () 2023-01-13 14:17:03 +00:00
util Always notify replication when a stream advances () 2023-01-20 18:02:18 +00:00
__init__.py Rename storage classes () 2022-05-31 12:17:50 +00:00
_base.py Update all stream IDs after processing replication rows () 2023-01-04 11:49:26 +00:00
background_updates.py Handle half-created indices in receipts index background update () 2022-12-09 23:02:11 +00:00
database.py Batch look-ups to see if rooms are partial stated. () 2023-01-26 17:15:36 +00:00
keys.py Use auto_attribs/native type hints for attrs classes. () 2022-01-13 13:49:28 +00:00
prepare_database.py Snapshot schema 72 () 2022-09-26 18:28:32 +01:00
push_rule.py Remove redundant "coding: utf-8" lines () 2021-04-14 15:34:27 +01:00
roommember.py Do not include rooms with an unknown room version in a sync response. () 2021-08-19 11:12:55 -04:00
types.py Tidy up and type-hint the database engine modules () 2022-05-17 00:34:38 +01:00