Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull in related events into the conflicted control events #308

Merged
merged 4 commits into from
May 13, 2022

Conversation

neilalexander
Copy link
Contributor

This PR should fix some state res bugs by not allowing an event directly related to a power event from the conflicted set from being reapplied later as a non-power event.

neilalexander added a commit to matrix-org/dendrite that referenced this pull request May 12, 2022
@erikjohnston erikjohnston self-requested a review May 12, 2022 16:45
@erikjohnston
Copy link
Member

Yeah, I think that looks right

@neilalexander neilalexander merged commit eee8fd5 into main May 13, 2022
@neilalexander neilalexander deleted the neilalexander/stateresfixes branch May 13, 2022 10:36
neilalexander added a commit to matrix-org/dendrite that referenced this pull request May 13, 2022
neilalexander added a commit to matrix-org/dendrite that referenced this pull request May 13, 2022
* Feed existing state into state res when calculating state from new extremities

* Remove duplicates

* Fix bug

* Sort and unique

* Update to matrix-org/gomatrixserverlib#308

* Trim the slice properly

* Update gomatrixserverlib again

* Update to matrix-org/gomatrixserverlib#308
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants