This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Error: Event has no state groups #3601
Comments
erikjohnston
added a commit
that referenced
this issue
Jul 25, 2018
We incorrectly asserted that all contexts must have a non None state group without consider outliers. This would usually be fine as the assertion would never be hit, as there is a shortcut during persistence if the forward extremities don't change. However, if the outlier is being persisted with non-outlier events, the function would be called and the assertion would be hit. Fixes #3601
The linked PR should fix this. Broadly this was happening when we were persisting outlier events during the same persist event loop as non-outlier events for the room. The non-outlier events forced it down the code path of recalculating current state, at which point we asserted that all event contexts must have a state group. Outlier events don't have a state group. |
(the logcontext leak is fixed in #3606) |
Looks like #3603 did fix it. Also the log context warning is gone. Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Unclear severity. This is on the develop branch as of writing. Happens to several events in different rooms at different times (not a pattern).
The text was updated successfully, but these errors were encountered: