-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Proposal: mitigate extremities accumulation using lazy-transmitted dummy events #5319
Comments
One concern with sending the events to clients would be them flagging rooms as unread (the "why is this room bold?" bug). Making it a hard requirement to not do that would be appreciated. |
well, clients shouldn't consider rooms unread for event types they don't know about (and we need to fix that in general for Matrix). Edit: plus the server could just ignore dummy events when calculating unread counts. On discussing this with @erikjohnston another potential issue cropped up, which is that he's worried that when the dummy event(s) eventually does get sent from the fragmented room by the lurker speaking there, they are going to have loads of parents which could spiderweb over the whole history of the room. This will cause other servers in the room to go madly fishing around for the events in question, even if they predate that server's participation in the room, and increase the computational complexity of state resolution due to needing to model all the paths. Therefore it might be better to intelligently prune extremities where possible rather than using dummy events. I'm writing the new prop up as another bug. |
this was implemented in #5480 |
yes it was |
This is a proposal for a pragmatic way to mitigate extremity-build-up without being blocked on the longer term goals of speeding up state res via delta state res (#3122) or chunks (#3226, #3240 etc).
In the past, I think this approach was dismissed because:
The text was updated successfully, but these errors were encountered: