0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-07-13 08:28:38 +02:00
dendrite/roomserver/internal/input
Neil Alexander eb352a5f6b
Full roomserver input transactional isolation (#2141)
* Add transaction to all database tables in roomserver, rename latest events updater to room updater, use room updater for all RS input

* Better transaction management

* Tweak order

* Handle cases where the room does not exist

* Other fixes

* More tweaks

* Fill some gaps

* Fill in the gaps

* good lord it gets worse

* Don't roll back transactions when events rejected

* Pass through errors properly

* Fix bugs

* Fix incorrect error check

* Don't panic on nil txns

* Tweaks

* Hopefully fix panics for good in SQLite this time

* Fix rollback

* Minor bug fixes with latest event updater

* Some review comments

* Revert "Some review comments"

This reverts commit 0caf8cf53e.

* Fix a couple of bugs

* Clearer commit and rollback results

* Remove unnecessary prepares
2022-02-04 10:39:34 +00:00
..
input.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
input_events.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +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 Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00