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

Faster joins: stuck "partial state room" if persisting the /send_join response fails #12998

Closed

Description

@richvdh

If the response to /send_join turns out to be invalid (so processing it fails), we end up with a room stuck in the "partial state" state.

part of #12646

Activity

  1. added
    A-Federated-Joinjoins over federation generally suck
    T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.
    on Jun 9, 2022
  2. richvdh commented on Jun 9, 2022

    @richvdh
    MemberAuthor

    if ret.partial_state:
    # TODO(faster_joins): roll this back if we don't manage to start the
    # background resync (eg process_remote_join fails)
    # https://github.com/matrix-org/synapse/issues/12998
    await self.store.store_partial_state_room(room_id, ret.servers_in_room)

  3. richvdh commented on Jul 22, 2022

    @richvdh
    MemberAuthor

    I think this is relatively low-hanging fruit which someone could pick up without too much introduction

  4. self-assigned this
    on Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-Federated-Joinjoins over federation generally suckT-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions