bug: Profile update request retransmissions are not debounced #2395
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Compliance
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 milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
continuwuation/continuwuity#2395
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What is the bug?
Continuwuity does not debounce profile updates, which means if a request to update a displayname/avatar url times out (due to large room lists), and the client subsequently automatically retries the request, continuwuity will start dispatching no-op membership events.
Steps to reproduce
Server name and version
nexy7574.co.uk 26.9.1
3b2afe03acAdditional context
(the retried requests were identical so the retransmissions could've been easily identified)
related: Synapse makes this a persistent background task that starts immediately (allowing the request to also return immediately) and resumes on server startup if interrupted. Venator also dispatches to a background task for the same reason, but is not persistent. Either way, we should probably also cast to the bg at the very least - debouncing fixes the symptom, not the problem