0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-18 09:03:43 +01:00
dendrite/roomserver/storage/postgres
Neil Alexander 5106cc807c
Ensure only one transaction is used for RS input per room (#2178)
* Ensure the input API only uses a single transaction

* Remove more of the dead query API call

* Tidy up

* Fix tests hopefully

* Don't do unnecessary work for rooms that don't exist

* Improve error, fix another case where transaction wasn't used properly

* Add a unit test for checking single transaction on RS input API

* Fix logic oops when deciding whether to use a transaction in storeEvent
2022-02-11 17:40:14 +00:00
..
deltas Add more logs (#2005) 2021-09-07 15:07:14 +01:00
event_json_table.go Ensure only one transaction is used for RS input per room (#2178) 2022-02-11 17:40:14 +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 Fix transaction issues in events table in PSQL (#2165) 2022-02-10 09:30:16 +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
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