-
Notifications
You must be signed in to change notification settings - Fork 412
Sliding Sync: Use stream_ordering based timeline pagination for incremental sync
#17510
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 19 commits into
develop
from
madlittlemods/use-stream-ordering-based-timeline-paginating
Aug 7, 2024
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
75e464b
Working in Sliding sync
MadLittleMods c5966e5
Refine function
MadLittleMods 3423f83
Adapt the other places
MadLittleMods f781e5b
Update comment to reflect what we're doing
MadLittleMods 4aee1ab
Use `_assertTimelineEqual(...)` on all of the timeline tests
MadLittleMods cba4664
Add changelog
MadLittleMods d6dd34f
Fix lints:
MadLittleMods 3075a15
Revert test changes in favor of separate PR
MadLittleMods d67c9b5
Fix tests
MadLittleMods efcc915
Update comment to describe when `stream_ordering` vs `topological_ord…
MadLittleMods 0e12dde
Add `PaginateFunction` type
MadLittleMods 6231fb0
Standardize way we fetch events for sync
MadLittleMods c5d0998
Rename `paginate_room_events(...)` -> `paginate_room_events_by_topolo…
MadLittleMods 3540ac7
Standardize docstring
MadLittleMods f27e145
Rename `get_room_events_stream_for_room(...)` -> `paginate_room_event…
MadLittleMods a67b573
Merge branch 'develop' into madlittlemods/use-stream-ordering-based-t…
MadLittleMods 0874a2e
Add checks to outside
MadLittleMods c98e8b1
Merge branch 'develop' into madlittlemods/use-stream-ordering-based-t…
MadLittleMods 4888d44
Add future FIXME's to enforce to_key on FORWARDS
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 @@ | ||
| Fix timeline ordering (using `stream_ordering` instead of topological ordering) in 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
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
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.
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.