diff options
author | David Robertson <davidr@element.io> | 2021-10-13 10:38:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 09:38:22 +0000 |
commit | b83e82255630f2ba7ea959b68e5a82b4d938f000 (patch) | |
tree | 8e5ee3373e3686a21b3ed7756639af8e553a5195 /changelog.d/11053.bugfix | |
parent | Fix formatting string when oEmbed errors occur. (#11061) (diff) | |
download | synapse-b83e82255630f2ba7ea959b68e5a82b4d938f000.tar.xz |
Stop user directory from failing if it encounters users not in the `users` table. (#11053)
The following scenarios would halt the user directory updater: - user joins room - user leaves room - user present in room which switches from private to public, or vice versa. for two classes of users: - appservice senders - users missing from the user table. If this happened, the user directory would be stuck, unable to make forward progress. Exclude both cases from the user directory, so that we ignore them. Co-authored-by: Eric Eastwood <erice@element.io> Co-authored-by: reivilibre <oliverw@matrix.org> Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
Diffstat (limited to 'changelog.d/11053.bugfix')
-rw-r--r-- | changelog.d/11053.bugfix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/11053.bugfix b/changelog.d/11053.bugfix new file mode 100644 index 0000000000..a59cfac931 --- /dev/null +++ b/changelog.d/11053.bugfix @@ -0,0 +1,2 @@ +Fix a bug introduced in Synapse 1.45.0rc1 where the user directory would stop updating if it processed an event from a +user not in the `users` table. |