-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Sometimes we have entries in event_to_state_groups
for outliers, and I don't know why
#12201
Comments
This seems very plausible (by the name of the function): We have various functions which run into Call stack:
|
but
|
@richvdh Good call 🤦♂️ What is the date of the most recent entry in My other guess is that we're updating an event to |
I've not been able to find any examples on matrix.org, but I don't know if that means they don't exist, or just that a couple of hours of table-scanning failed find them. I did find a number of examples on sw1v.org, with this query:
The most recent examples there are from 2021-12-02, so it may have been fixed since. Some other things I noticed about these entries:
That means they were originally persisted with positive stream-orderings, and we later attempted to de-outlier them with a negative stream-ordering. There's nothing particularly wrong with that; what is odd is that they are still marked as outliers after going through the de-outliering process, given that we always set It feels like #11632 (which caused backfilled events to be marked as outliers incorrectly) may be involved here but I don't really know how that would cause an event to be in |
Maybe this was caused by #12584 (before the assertion was added)? I still can't really see how. |
Generally we don't expect to have the state at an outlier event, so having entries in
event_to_state_groups
is surprising to me. I haven't investigated why this happens, or if it causes any real problems.The text was updated successfully, but these errors were encountered: