dendrite/roomserver/storage
Neil Alexander 2782ae3d56
Fix fetching missing state (#2163)
* Check that we have a populated state snapshot when determining if we closed the gap

* Do the same in the query API

* Use HasState more opportunistically

* Try to avoid falling down the hole of using a trustworthy but empty state snapshot for non-create events

* Refactor missing state and make sure that we really solve the problem for the new event

* Comments

* Review comments

* Tweak that check again

* Tidy up that create check further

* Fix build hopefully

* Update sendOutliers to use OrderAuthAndStateEvents

* Don't go out of bounds on missingEvents
2022-02-10 10:05:14 +00:00
..
postgres Fix transaction issues in events table in PSQL (#2165) 2022-02-10 09:30:16 +00:00
shared Fix fetching missing state (#2163) 2022-02-10 10:05:14 +00:00
sqlite3 Allow events to be un-rejected (#2159) 2022-02-08 13:45:48 +00:00
tables Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
interface.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
storage_wasm.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
storage.go Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021) 2021-11-02 16:48:48 +00:00