aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/postgres
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-09-16 10:35:32 +0100
committerGitHub <noreply@github.com>2022-09-16 10:35:32 +0100
commitfc1d8e479b282b56dd0eb707559785dc20fc65a6 (patch)
tree865bfc780456c24ae94f50b3f3b94a212d75d3b5 /syncapi/storage/postgres
parenta5f8c07184921b4cfdea42c872852ca5e5e5a4ce (diff)
Ensure that all state event IDs are included in the `added` section when rewriting state (#2725)
This should hopefully fix an entire class of problems where components downstream from the roomserver (i.e. the sync API) could just lose a whole bunch of state after a rewrite operation like a federated join. The root of the bug is that we set `RewritesState` in the output event which instructs downstream components to purge their copy of any room state, but then didn't send the entire state snapshot in `adds_state_event_ids` so the downstream state ends up being incomplete as a result.
Diffstat (limited to 'syncapi/storage/postgres')
0 files changed, 0 insertions, 0 deletions