This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Optimise get_rooms_for_user (drop with_stream_ordering) #13787
Merged
erikjohnston
merged 17 commits into
matrix-org:develop
from
beeper:optimise-get-rooms-for-user
Sep 29, 2022
Merged
Optimise get_rooms_for_user (drop with_stream_ordering) #13787
erikjohnston
merged 17 commits into
matrix-org:develop
from
beeper:optimise-get-rooms-for-user
Sep 29, 2022
Commits on Sep 13, 2022
-
Reimplement
get_rooms_for_user
andget_rooms_for_users
This avoids the join on `events` to get stream ordering that is mostly unused.
Configuration menu - View commit details
-
Copy full SHA for 1008106 - Browse repository at this point
Copy the full SHA 1008106View commit details -
Replace calls to
get_rooms_for_users_with_stream_ordering
None of the calls to this function ever use the stream ordering component returned, so can just use the simplified `get_rooms_for_users`.
Configuration menu - View commit details
-
Copy full SHA for c98bbfc - Browse repository at this point
Copy the full SHA c98bbfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7210fa1 - Browse repository at this point
Copy the full SHA 7210fa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7719d9c - Browse repository at this point
Copy the full SHA 7719d9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b745518 - Browse repository at this point
Copy the full SHA b745518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 661e7cf - Browse repository at this point
Copy the full SHA 661e7cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3df4579 - Browse repository at this point
Copy the full SHA 3df4579View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0497004 - Browse repository at this point
Copy the full SHA 0497004View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e127f8 - Browse repository at this point
Copy the full SHA 7e127f8View commit details
Commits on Sep 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b97ae86 - Browse repository at this point
Copy the full SHA b97ae86View commit details
Commits on Sep 28, 2022
-
Co-authored-by: Erik Johnston <erikj@jki.re>
Configuration menu - View commit details
-
Copy full SHA for 7512017 - Browse repository at this point
Copy the full SHA 7512017View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21c8e8d - Browse repository at this point
Copy the full SHA 21c8e8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9907aaa - Browse repository at this point
Copy the full SHA 9907aaaView commit details -
Merge branch 'develop' into optimise-get-rooms-for-user
# Conflicts: # synapse/storage/databases/main/events.py # synapse/storage/databases/main/roommember.py
Configuration menu - View commit details
-
Copy full SHA for ff3ae7e - Browse repository at this point
Copy the full SHA ff3ae7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4da7073 - Browse repository at this point
Copy the full SHA 4da7073View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd70af9 - Browse repository at this point
Copy the full SHA bd70af9View commit details -
Always ensure we return a value for every user in
get_rooms_for_users
The cached list (sensibly) requires that every input value has a corresponding output.
Configuration menu - View commit details
-
Copy full SHA for 7b0e311 - Browse repository at this point
Copy the full SHA 7b0e311View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.