mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-10 15:43:09 -06:00
Words
This commit is contained in:
parent
e64936765a
commit
df318ef6cf
|
|
@ -7,10 +7,10 @@ This releases fixes a long-standing "off-by-one" error which could result in sta
|
||||||
When deduplicating state events, we were checking if the event in question was already in a state snapshot. If it was in a previous state snapshot, we would
|
When deduplicating state events, we were checking if the event in question was already in a state snapshot. If it was in a previous state snapshot, we would
|
||||||
then remove it from the list of events to store. If this happened, we were, unfortunately, skipping the next event to check. This resulted in
|
then remove it from the list of events to store. If this happened, we were, unfortunately, skipping the next event to check. This resulted in
|
||||||
events getting stored in state snapshots where they may not be needed. When we now compared two of those state snapshots, one of them
|
events getting stored in state snapshots where they may not be needed. When we now compared two of those state snapshots, one of them
|
||||||
contained the skipped event, while the other didn't. This difference possibly shouldn't exist, resulting in unexpected state resets.
|
contained the skipped event, while the other didn't. This difference possibly shouldn't exist, resulting in unexpected state resets and explains
|
||||||
This also explains reports of rooms missing state events.
|
reports of missing state events as well.
|
||||||
|
|
||||||
This has been fixed - rooms where a state reset occurred earlier should, hopefully, reconcile over time.
|
Rooms where a state reset occurred earlier should, hopefully, reconcile over time.
|
||||||
|
|
||||||
### Fixes:
|
### Fixes:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue