-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
A room lost all its forward extremities, leading to "no create event in auth events" #7845
Comments
After the above error, synapse will have removed all traces of the failed event from the database, and retried. The eventual event, as persisted, was:
The slightly later So, questions:
|
well, this part is easily answered. When we get an integrity error and retry, |
ok, I think this was caused by running two master instances at once. Don't do that, people. |
As far as I can tell from the sentry logs, the only time this has actually done anything in the last two years is when we had two master workers running at once, and even then, it made a bit of a mess of it (see #7845 (comment)). Generally I feel like this code is doing more harm than good.
Was the Mozilla side of the issue also caused by this? I don't recall them running two master instances at once. |
yes, I think there were two master processes running at once on the mozilla instance (by accident) at this point. There were lots of exceptions in sentry around the time this happened. |
Oh right, that would probably explain it then. |
As far as I can tell from the sentry logs, the only time this has actually done anything in the last two years is when we had two master workers running at once, and even then, it made a bit of a mess of it (see #7845 (comment)). Generally I feel like this code is doing more harm than good.
this actually goes back to March; sadly this is the first time I've had a chance to write it up in a github issue.
Somehow a room (on the
mozilla.org
instance) ended up with noevent_forward_extremities
in the database at all, despite still having a number of local members.The room was manually "fixed" by inserting a new row into
event_forward_extremities
and restarting synapse.The only thing that looks odd is this entry in the postgres error log:
The text was updated successfully, but these errors were encountered: