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

Faster joins: Update room stats and the user directory on workers when finishing join #14874

Merged
merged 3 commits into from
Jan 23, 2023

Commits on Jan 19, 2023

  1. Faster joins: Update room stats and user directory on workers when done

    When finishing a partial state join to a room, we update the current
    state of the room without persisting additional events. Workers receive
    notice of the current state update over replication, but neglect to wake
    the room stats and user directory updaters, which then get incidentally
    triggered the next time an event is persisted or an unrelated event
    persister sends out a stream position update.
    
    We wake the room stats and user directory updaters at the appropriate
    time in this commit.
    
    Part of #12814 and #12815.
    
    Signed-off-by: Sean Quah <seanq@matrix.org>
    Sean Quah committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    e921504 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. fixup comment

    Sean Quah committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    1cbb28d View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2023

  1. Merge branch 'develop' into squah/notify_replication_on_update_curren…

    …t_state
    David Robertson authored Jan 22, 2023
    Configuration menu
    Copy the full SHA
    aa847ea View commit details
    Browse the repository at this point in the history