0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-09-10 21:21:51 +02:00
dendrite/roomserver/storage/shared
Neil Alexander e9545dc12f
Remove error when state keys are missing for user NIDs (#2213)
* Remove error when state keys are missing for user NIDs

There is still an actual bug here somewhere in the membership updater, but this check does more harm than good, since it means that the key consumers don't actually distribute updates to *anyone*. It's better just to deal with this silently for now.

To find these broken rows:

```
SELECT * FROM roomserver_membership AS m WHERE NOT EXISTS (
	SELECT event_state_key_nid FROM roomserver_event_state_keys AS s
	WHERE m.sender_nid = s.event_state_key_nid
);
```

* Logging
2022-02-22 13:40:08 +00:00
..
membership_updater.go Don't re-send sent events in add_state_events (#2195) 2022-02-17 13:53:48 +00:00
prepare.go Merge Updater structs (#1069) 2020-05-28 11:15:21 +01:00
room_updater.go Don't re-send sent events in add_state_events (#2195) 2022-02-17 13:53:48 +00:00
storage.go Remove error when state keys are missing for user NIDs (#2213) 2022-02-22 13:40:08 +00:00