dendrite/roomserver/internal/input
Neil Alexander a572f4db03
Fix bugs that could wedge rooms (#2154)
* Don't flake so badly for rejected events

* Moar

* Fix panic

* Don't count rejected events as missing

* Don't treat rejected events without state as missing

* Revert "Don't count rejected events as missing"

This reverts commit 4b6139b62eb91ba059b47415b0275964b37d9b43.

* Missing events should be KindOld

* If we have state, use it, regardless of memberships which could be stale now

* Fetch missing state for KindOld too

* Tweak the condition again

* Clean up a bit

* Use room updater to get latest events in a race-free way

* Return the correct error

* Improve errors
2022-02-07 19:10:01 +00:00
..
input.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
input_events.go Fix bugs that could wedge rooms (#2154) 2022-02-07 19:10:01 +00:00
input_latest_events.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
input_membership.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
input_missing.go Fix bugs that could wedge rooms (#2154) 2022-02-07 19:10:01 +00:00