Commit Graph

45 Commits (b39b02c26e9550c629c027a06b25d64e94fe8e5e)

Author SHA1 Message Date
Mathieu Velten 6f68e32bfb
to_device updates could be dropped when consuming the replication stream (#15349) 2 years ago
Patrick Cloke afb216c202
Remove no-op send_command for Redis replication. (#15274) 2 years ago
Erik Johnston b2357a898c
Fix bug where 5s delays would occasionally happen. (#15150) 2 years ago
Patrick Cloke 42aea0d8af
Add final type hint to tests.unittest. (#15072) 2 years ago
Patrick Cloke 156cd88eef
Add missing type hints to tests.replication. (#14987) 2 years ago
Erik Johnston 65d0386693
Always notify replication when a stream advances (#14877) 2 years ago
Erik Johnston 316590d1ea
Fix bug in `wait_for_stream_position` (#14856) 2 years ago
reivilibre 9e82caac45
Faster remote room joins: unblock tasks waiting for full room state when the un-partial-stating of that room is received over the replication stream. [rei:frrj/streams/unpsr] (#14474) 2 years ago
realtyem 854a6884d8
Modernize unit tests configuration settings for workers. (#14568) 2 years ago
Patrick Cloke efd108b45d
Accept & store thread IDs for receipts (implement MSC3771). (#13782) 2 years ago
Patrick Cloke f3fba4914d
Reduce the number of tests using TCP replication. (#13543) 2 years ago
reivilibre 177b884ad7
Lay some foundation work to allow workers to only subscribe to some kinds of messages, reducing replication traffic. (#12672) 3 years ago
Patrick Cloke 3e4af36bc8
Rename get_tcp_replication to get_replication_command_handler. (#12192) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Patrick Cloke d0e78af35e
Add missing type hints to synapse.replication. (#11938) 3 years ago
reivilibre 642a42edde
Flatten the synapse.rest.client package (#10600) 3 years ago
Jonathan de Jong 93729719b8
Use inline type hints in `tests/` (#10350) 3 years ago
Jonathan de Jong 495b214f4f
Fix (final) Bugbear violations (#9838) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 0b3112123d
Use mock from the stdlib. (#9772) 4 years ago
Erik Johnston b5efcb577e
Make it possible to use dmypy (#9692) 4 years ago
Erik Johnston 2927921942
Clean up `ShardedWorkerHandlingConfig` (#9466) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Dan Callahan aff1eb7c67
Tell Black to format code for Python 3.5 (#8664) 4 years ago
Patrick Cloke cc9bb3dc3f
Convert the message handler to async/await. (#7884) 4 years ago
Patrick Cloke 7d2532be36
Discard RDATA from already seen positions. (#7648) 5 years ago
Richard van der Hoff 164f50f5f2
fix mypy for tests/replication (#7518) 5 years ago
Richard van der Hoff 6c1f7c722f
Fix limit logic for AccountDataStream (#7384) 5 years ago
Erik Johnston 18c1e52d82
Clean up replication unit tests. (#7490) 5 years ago
Richard van der Hoff d5aa7d93ed
Fix catchup-on-reconnect for the Federation Stream (#7374) 5 years ago
Erik Johnston 0e719f2398
Thread through instance name to replication client. (#7369) 5 years ago
Erik Johnston 3085cde577
Use `stream.current_token()` and remove `stream_positions()` (#7172) 5 years ago
Erik Johnston 37f6823f5b
Add instance name to RDATA/POSITION commands (#7364) 5 years ago
Erik Johnston 3eab76ad43
Don't relay REMOTE_SERVER_UP cmds to same conn. (#7352) 5 years ago
Richard van der Hoff c2e1a2110f
Fix limit logic for EventsStream (#7358) 5 years ago
Erik Johnston fce663889b
Add some replication tests (#7278) 5 years ago
Richard van der Hoff 82d8b1dd1f
Another go at fixing one-word commands (#7326) 5 years ago
Erik Johnston 5016b162fc
Move client command handling out of TCP protocol (#7185) 5 years ago
Erik Johnston 4cff617df1
Move catchup of replication streams to worker. (#7024) 5 years ago
Richard van der Hoff a564b92d37
Convert `*StreamRow` classes to inner classes (#7116) 5 years ago
Erik Johnston 48c3a96886
Port synapse.replication.tcp to async/await (#6666) 5 years ago
Amber Brown 0f87b912ab
Implementation of MSC2314 (#6176) 5 years ago
Amber Brown b36c82576e
Run Black on the tests again (#5170) 6 years ago
Richard van der Hoff a5798de067 Move replication.tcp.streams into a package 6 years ago
Richard van der Hoff 9bde730ef8
Fix bug where read-receipts lost their timestamps (#4927) 6 years ago