dendrite/federationsender/storage/postgres
Neil Alexander f64c8822bc
Federation sender refactor (#1621)
* Refactor federation sender, again

* Clean up better

* Missing operators

* Try to get overflowed events from database

* Fix queries

* Log less

* Comments

* nil PDUs/EDUs shouldn't happen but guard against them for safety

* Tweak logging

* Fix transaction coalescing

* Update comments

* Check nils more

* Remove channels as they add extra complexity and possibly will deadlock

* Don't hold lock while sending transaction

* Less spam about sleeping queues

* Comments

* Bug-fixing

* Don't try to rehydrate twice

* Don't queue in memory for blacklisted destinations

* Don't queue in memory for blacklisted destinations

* Fix a couple of bugs

* Check for duplicates when pulling things out of the database

* Durable transactions, some more refactoring

* Revert "Durable transactions, some more refactoring"

This reverts commit 5daf924eaaefec5e4f7c12c16ca24e898de4adbb.

* Fix deadlock
2020-12-09 10:03:22 +00:00
..
blacklist_table.go Transaction writer changes, move roomserver writers (#1285) 2020-08-19 15:38:27 +01:00
joined_hosts_table.go Fix RewritesState bug (#1557) 2020-10-22 10:39:16 +01:00
queue_edus_table.go Deduplicate FS database, EDU persistence table (#1207) 2020-07-20 16:55:20 +01:00
queue_json_table.go Deduplicate FS database, EDU persistence table (#1207) 2020-07-20 16:55:20 +01:00
queue_pdus_table.go Federation sender refactor (#1621) 2020-12-09 10:03:22 +00:00
room_table.go Deduplicate FS database, EDU persistence table (#1207) 2020-07-20 16:55:20 +01:00
storage.go Federation sender event cache (#1614) 2020-12-04 14:52:10 +00:00