Skip to content

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