Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Faster joins: Avoid starting duplicate partial state syncs #14844

Merged
merged 8 commits into from
Jan 20, 2023

Commits on Jan 13, 2023

  1. Rename _resume_sync_partial_state_room

    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    755e645 View commit details
    Browse the repository at this point in the history
  2. Add check to avoid starting duplicate partial state syncs

    When we are kicked from a room while syncing partial state, the sync
    can fail and leave us in a state where the homeserver is not joined to
    the room, yet has the partial state flag set on the room.
    
    When we next join the room (implemented by Mat in a separate PR), we
    would like to restart the sync. To do so without starting duplicate
    syncs, we add a set which tracks which partial state syncs are in
    progress.
    
    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    403dec8 View commit details
    Browse the repository at this point in the history
  3. Ensure we restart partial state syncs when we rejoin a room

    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    aeb8bbe View commit details
    Browse the repository at this point in the history
  4. Add newsfile

    Sean Quah committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    4f36846 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. fixup: pop and read from dict in same statement

    Sean Quah committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    5e8447c View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. fixup: rename restart flag

    Sean Quah committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    ab7020f View commit details
    Browse the repository at this point in the history
  2. fixup: redo comments

    Sean Quah committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    71064de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0680774 View commit details
    Browse the repository at this point in the history