0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-15 00:43:44 +01:00
dendrite/internal
kegsay 6de29c1cd2
bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466)
* Fix flakey sytest 'Local device key changes get to remote servers'

* Debug logs

* Remove internal/test and use /test only

Remove a lot of ancient code too.

* Use FederationRoomserverAPI in more places

* Use more interfaces in federationapi; begin adding regression test

* Linting

* Add regression test

* Unbreak tests

* ALL THE LOGS

* Fix a race condition which could cause events to not be sent to servers

If a new room event which rewrites state arrives, we remove all joined hosts
then re-calculate them. This wasn't done in a transaction so for a brief period
we would have no joined hosts. During this interim, key change events which arrive
would not be sent to destination servers. This would sporadically fail on sytest.

* Unbreak new tests

* Linting
2022-05-17 13:23:35 +01:00
..
caching bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466) 2022-05-17 13:23:35 +01:00
eventutil Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
hooks MSC2836: Threading - part one (#1589) 2020-11-19 11:34:59 +00:00
httputil Clean up interface definitions (#2427) 2022-05-06 12:39:26 +01:00
pushgateway Back out matrix-org/dendrite#2421 by restoring http.Clients 2022-05-10 11:08:10 +01:00
pushrules Implement Push Notifications (#1842) 2022-03-03 11:40:53 +00:00
sqlutil Global database connection pool (for monolith mode) (#2411) 2022-05-03 16:35:06 +01:00
transactions Implement read receipts (#1528) 2020-11-09 18:46:11 +00:00
log.go Fix building on Windows (#2008) 2021-11-02 16:50:59 +00:00
log_unix.go Added std type to logging config. (#2060) 2021-12-16 15:37:01 +00:00
log_windows.go Fix building on Windows (#2008) 2021-11-02 16:50:59 +00:00
mutex.go Add a per-room mutex to federationapi when processing transactions (#1810) 2021-03-30 10:01:32 +01:00
version.go Version 0.8.5 (#2461) 2022-05-13 13:17:15 +01:00