feat: Add support for state_after, stop sync token accumulation #1795
No reviewers
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1795
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ginger/kill-sync-tokens"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request adds support for the
state_afterquery parameter introduced on the legacy sync endpoint in Matrix 1.16. Additionally, it adjusts the legacy sync logic to stop adding new entries to the notoriously largeroomsynctoken_shortstatehashcolumn, which a future release is expected to drop entirely. Fixes !917.Pull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
roomsynctoken_shortstatehash096c9a1768state_after987060dad8Oh hell yeah
85c44db65c47daf80d0f8a47a06baf9d52582bb1erroneous approval
d5bb67b18d624bd3796a80741eb3658182ab3c29looks shockingly sensible 👍
dont forget to run clippy
8182ab3c29e3a9549824