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

Handling of missing auth events does not update state group #1965

Closed
richvdh opened this issue Mar 1, 2017 · 1 comment
Closed

Handling of missing auth events does not update state group #1965

richvdh opened this issue Mar 1, 2017 · 1 comment

Comments

@richvdh
Copy link
Member

richvdh commented Mar 1, 2017

When we receive an event whose auth chain includes events which are missing from the state group at the relevant point on the DAG, we include those missing events when authing the new event. (see https://github.com/matrix-org/synapse/blob/09eb08f/synapse/handlers/federation.py#L1510).

However, it appears we do not persist those events to the state group, which means that the room state stays out of sync, and leads to further rejections down the line. (For instance, if the new event was a join, and the invite_rules was missing from the state group, then the join will later get rejected during conflict resolution).

The real question is why the auth events are missing in the state group (which is probably due to #1935), but given we have this self-healing mechanism, it would be nice if it worked.

@richvdh
Copy link
Member Author

richvdh commented Oct 7, 2021

I'm reasonably sure that this got fixed a while ago.

@richvdh richvdh closed this as completed Oct 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant