-
Notifications
You must be signed in to change notification settings - Fork 349
Add stream_ordering
sort to Sliding Sync /sync
#17293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MadLittleMods
merged 34 commits into
develop
from
madlittlemods/msc3575-sliding-sync-sort
Jun 17, 2024
Merged
Changes from 16 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
ce45cc1
Sliding sync sort stub
MadLittleMods 75b701f
Add changelog
MadLittleMods c8a240f
Prefer `? < a AND a <= ?`
MadLittleMods 2a82ac0
Fix `get_last_event_in_room_before_stream_ordering(...)` not finding …
MadLittleMods 2e1d142
Add actual guranteed order for UNION
MadLittleMods b1af992
Some clean-up
MadLittleMods 901ce62
Try to better explain why
MadLittleMods 87ad458
Fix `get_last_event_in_room_before_stream_ordering(...)` not finding …
MadLittleMods 431b31e
Add actual guranteed order for UNION
MadLittleMods d7f40ae
Try to better explain why
MadLittleMods a8056ae
Add changelog
MadLittleMods 3f317a9
We're actually using sub-query syntax so we can ORDER each query
MadLittleMods 54bdc0c
Fix invalid syntax
MadLittleMods 4d585b6
Merge branch 'develop' into madlittlemods/fix-and-tests-for-get_last_…
MadLittleMods 42f24de
Merge branch 'develop' into madlittlemods/msc3575-sliding-sync-sort
MadLittleMods 03547b0
Merge branch 'madlittlemods/fix-and-tests-for-get_last_event_in_room_…
MadLittleMods c94550d
Add `event.internal_metadata.instance_name` and event position to `ge…
MadLittleMods afb6627
Add rust changes for `event.internal_metadata.instance_name`
MadLittleMods af60f7b
First pass on `sort_rooms` and refactor to include room membership al…
MadLittleMods bd49c34
Add some tests
MadLittleMods 5060588
Fix newly_left not being added back if we returned early (when `membe…
MadLittleMods 5243a30
Fix ban test case
MadLittleMods d5929f1
Adjust wording
MadLittleMods 8935c6c
Fix lints
MadLittleMods 93aa4ff
Merge branch 'develop' into madlittlemods/msc3575-sliding-sync-sort
MadLittleMods 185e0b5
Merge branch 'develop' into madlittlemods/msc3575-sliding-sync-sort
MadLittleMods 8244b25
Merge branch 'develop' into madlittlemods/msc3575-sliding-sync-sort
MadLittleMods 35808b3
Fix filtering
MadLittleMods a917eda
No more sort option
MadLittleMods 84eaeea
Add rest test
MadLittleMods 99ed012
Update changelog
MadLittleMods 7d80418
Merge branch 'develop' into madlittlemods/msc3575-sliding-sync-sort
MadLittleMods ef92f3c
Stable sort with just `stream_ordering`
MadLittleMods 63ff8f9
Rename to `get_last_event_pos_in_room_before_stream_ordering(...)`
MadLittleMods File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add recency sort to experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix edge case in `/sync` returning the wrong the state when using sharded event persisters. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.