Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Incremental syncs are returning {"errcode":"M_NOT_FOUND","error":"Unknown room"} #4296

@Half-Shot

Description

@Half-Shot

Description

Not sure why it has started doing it, but I am seeing {"errcode":"M_NOT_FOUND","error":"Unknown room"} errors when trying to do an incremental sync.

Version information

  • Homeserver: 0.33.9

EDIT1:

It's very likely

if not create_id:
since I cannot find another path for "Unknown room" to do with syncs.

EDIT2:

synapse=# SELECT type, state_key, event_id FROM current_state_events
synapse-#                 WHERE room_id = '!YztxsnzcdfOllJOvZA:jcg.re';
     type      |        state_key        |             event_id             
---------------+-------------------------+----------------------------------
 m.room.member | @Half-Shot:half-shot.uk | $1537608760248JGTdh:half-shot.uk

my current_state_events table is miserable though.

EDIT3: Fixed by logging out and in, and doing an initial sync. I suspect I wasn't actually in the room and there was no state for it, however the sync I was using figured I was in the room hence the confusion. Not sure what there is to fix here. Perhaps we should drop any rooms that have incorrect state in the incremental syncs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    z-bug(Deprecated Label)z-p2(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions