-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Unable to join specific room over federation with any account associated with a server that suffered a data loss event #11433
Comments
A few thoughts on this:
|
Hey, and thanks for the report! My theory is that while joining a room the development server realises that it's missing a membership from
This is a very valid point, however this is related to the Matrix spec (which Synapse implements) rather than Synapse's implementation itself, so I'd suggest opening an issue about it (if there isn't already one) on https://github.com/matrix-org/matrix-doc, which is where the spec lives. |
Hmm, looks like my first assessment wasn't correct and I misread that bit of code. What's really weird here is that in order to reach this query Synapse would need to have persisted the membership event, and we'd expect to see it in the Could you look in the |
Will do, thanks!
That didn't return any rows, so I dropped the database again and re-tested in case it was any testing I did that broke it, and... still no rows. The new event ID that I pulled from the new stack trace is
Finally, I'm wondering if I should open a second bug, as I am actually describing two different problems. One is that any other users from |
I have encountered the exact same behavior but the cause was slightly different: I was the only member of my homeserver to join a room and I was banned and then unbanned. Now nobody in the homeserver can join due to missing auth events. |
The joining issue sounds like #11373 which is fixed in v1.48.0rc1 if you want to try that |
with v1.48.0rc1 is see this error:
|
it will probably be fixed in #11440 . |
the "Auth events cannot be found" error on join does sound like #11440. I don't think that will solve |
oh thanks for the clarification! |
All right, well, that actually resolved my overall issue so this can probably be closed. Once I installed 1.48.0rc1 I was able to properly rejoin the room with So this whole thing likely stems from #11373 and 1.48.0rc1 resolved it for me. Thanks! |
Ah that makes sense indeed, thanks @aaronraimist for catching it! |
Description
A while ago, I setup two synapse instances: one for more "production" use cases, and one for testing various server configurations. These two servers federated with each other (and the broader network), and all was fine. In the "production" server, a user from the testing server was added to the primary channel, and given admin rights over the room (priv 100).
Then the development server was deleted without having the corresponding account leave the room first. After having that server rebuilt, I'm now stuck in something of a predicament:
This also has the unique end result of me being unable to join any accounts from the development server to the same channel on the production server. When I try, synapse tries to insert a row into local_current_membership referring to the account that's still "in" the channel, but with a null value for the membership column. This results in the row being rejected, and an Internal Server Error being thrown back to the client.
Steps to reproduce
Version information
If not matrix.org:
Version: 1.47.1
Install method: pip
The text was updated successfully, but these errors were encountered: