Some rooms are erroneously going missing #824

Open
opened 2025-05-09 21:20:47 +00:00 by nex · 0 comments
Owner

While trying to call /forget on some rooms, a few of them reported that the user forgetting the rooms was never in them.
Upon further investigation, it looks like the server doesn't know about these rooms at all.
It turns out, the roomid_shortroomid for the relevant rooms is missing - the state and whatnot appears to still be there.

Symptoms look like Forgetting room !room:example: Error: 400 {"errcode":"M_UNKNOWN","error":"M_UNKNOWN: No membership event was found, room was never joined"} and Missing state for "!room:example": M_NOT_FOUND: Not found in database

Possibly related to this could be that the rooms I have managed to investigate lack relevant membership events for the given users, even though they're in the /sync[rooms.leave] payload. It looks to me like affected rooms have state reset beyond use (i.e. bricked), however I haven't been able to check many rooms. needs investigation.

While trying to call /forget on some rooms, a few of them reported that the user forgetting the rooms was never in them. Upon further investigation, it looks like the server doesn't know about these rooms at all. It turns out, the `roomid_shortroomid` for the relevant rooms is missing - the state and whatnot appears to still be there. Symptoms look like `Forgetting room !room:example: Error: 400 {"errcode":"M_UNKNOWN","error":"M_UNKNOWN: No membership event was found, room was never joined"}` and `Missing state for "!room:example": M_NOT_FOUND: Not found in database` Possibly related to this could be that the rooms I have managed to investigate lack relevant membership events for the given users, even though they're in the `/sync[rooms.leave]` payload. It looks to me like affected rooms have state reset beyond use (i.e. bricked), however I haven't been able to check many rooms. **needs investigation.**
nex added the
Bug
Database
Help wanted
Priority
Low
labels 2025-05-09 21:20:47 +00:00
nex added the
Status
Needs Investigation
label 2025-05-31 00:00:48 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#824
No description provided.