Skip to content
Snippets Groups Projects
Forked from Maunium / synapse
Source project has a limited visibility.
  • Richard van der Hoff's avatar
    e2e1d90a
    Faster joins: persist to database (#12012) · e2e1d90a
    Richard van der Hoff authored
    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.
    Faster joins: persist to database (#12012)
    Richard van der Hoff authored
    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.