dendrite/roomserver/storage/postgres
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
..
deltas Add more logs (#2005) 2021-09-07 15:07:14 +01:00
event_json_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
event_state_keys_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
event_types_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
events_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
invite_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
membership_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
previous_events_table.go Factor out StatementList to sqlutil and use it in userapi 2021-07-28 18:30:04 +01:00
published_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
redactions_table.go Factor out StatementList to sqlutil and use it in userapi 2021-07-28 18:30:04 +01:00
room_aliases_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
rooms_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
state_block_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
state_block_table_test.go Implement storage interfaces (#841) 2020-01-03 14:07:05 +00:00
state_snapshot_table.go Full roomserver input transactional isolation (#2141) 2022-02-04 10:39:34 +00:00
storage.go Don't persist transaction IDs in the roomserver (#2048) 2021-11-22 09:13:12 +00:00