0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-15 14:32:30 +01:00
synapse/synapse/storage/schema
Richard van der Hoff e2e1d90a5e
Faster joins: persist to database (#12012)
When we get a partial_state response from send_join, store information in the
database about it:
 * store a record about the room as a whole having partial state, and stash the
   list of member servers too.
 * flag the join event itself as having partial state
 * also, for any new events whose prev-events are partial-stated, note that
   they will *also* be partial-stated.

We don't yet make any attempt to interpret this data, so API calls (and a bunch
of other things) are just going to get incorrect data.
2022-03-01 12:49:54 +00:00
..
common Support for database schema version ranges (#9933) 2021-06-11 14:45:53 +01:00
main Faster joins: persist to database (#12012) 2022-03-01 12:49:54 +00:00
state Reduce likelihood of Postgres table scanning state_groups_state. (#10359) 2021-07-15 16:02:12 +01:00
__init__.py Add state_key and rejection_reason to events (#11792) 2022-01-21 12:21:28 +00:00
README.md update links to schema doc (#10620) 2021-08-17 10:45:35 +00:00

Synapse Database Schemas

This directory contains the schema files used to build Synapse databases. For more information, see https://matrix-org.github.io/synapse/develop/development/database_schema.html.