Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Catch-up after Federation Outage (bonus): Catch-up on Synapse Startup (#8322) | reivilibre | 2020-09-18 | 1 | -0/+51 |
| | | | | | | | | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> * Fix _set_destination_retry_timings This came about because the code assumed that retry_interval could not be NULL — which has been challenged by catch-up. | ||||
* | Catch-up after Federation Outage (split, 4): catch-up loop (#8272) | reivilibre | 2020-09-15 | 1 | -4/+125 |
| | |||||
* | Catch up after Federation Outage (split, 2): Track last successful stream ↵ | reivilibre | 2020-09-04 | 1 | -0/+11 |
| | | | | | ordering after transmission (#8247) Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | Catch-up after Federation Outage (split, 1) (#8230) | reivilibre | 2020-09-04 | 1 | -2/+9 |
| | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 3 | -3/+3 |
| | |||||
* | Remove obsolete order field in `send_new_transaction` (#8245) | reivilibre | 2020-09-03 | 3 | -28/+22 |
| | | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | Add type hints for state. (#8140) | Patrick Cloke | 2020-08-24 | 1 | -2/+2 |
| | |||||
* | Be stricter about JSON that is accepted by Synapse (#8106) | Patrick Cloke | 2020-08-19 | 1 | -3/+2 |
| | |||||
* | Convert stream database to async/await. (#8074) | Patrick Cloke | 2020-08-17 | 2 | -2/+2 |
| | |||||
* | Drop federation transmission queues during a significant remote outage. (#7864) | reivilibre | 2020-08-13 | 1 | -0/+22 |
| | | | | | | | | | | | | | * Empty federation transmission queues when we are backing off. Fixes #7828. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> * Address feedback Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> * Reword newsfile | ||||
* | Fix typing for notifier (#8064) | Erik Johnston | 2020-08-12 | 1 | -2/+5 |
| | |||||
* | Merge branch 'master' into develop | Olivier Wilkinson (reivilibre) | 2020-07-30 | 2 | -2/+2 |
|\ | |||||
| * | Update worker docs with recent enhancements (#7969) | Erik Johnston | 2020-07-29 | 2 | -2/+2 |
| | | |||||
* | | Convert federation client to async/await. (#7975) | Patrick Cloke | 2020-07-30 | 1 | -13/+6 |
|/ | |||||
* | Convert state resolution to async/await (#7942) | Patrick Cloke | 2020-07-24 | 1 | -1/+3 |
| | |||||
* | Convert presence handler helpers to async/await. (#7939) | Patrick Cloke | 2020-07-23 | 1 | -1/+3 |
| | |||||
* | Add ability to run multiple pusher instances (#7855) | Erik Johnston | 2020-07-16 | 2 | -9/+9 |
| | | | This reuses the same scheme as federation sender sharding | ||||
* | Remove obsolete comment. | Olivier Wilkinson (reivilibre) | 2020-07-16 | 1 | -2/+0 |
| | | | | | | | | It was correct at the time of our friend Jorik writing it (checking git blame), but the world has moved now and it is no longer a generator. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> | ||||
* | Add ability to shard the federation sender (#7798) | Erik Johnston | 2020-07-10 | 2 | -2/+68 |
| | |||||
* | Fix some spelling mistakes / typos. (#7811) | Patrick Cloke | 2020-07-09 | 1 | -2/+2 |
| | |||||
* | Fix new metric where we used ms instead of seconds (#7771) | Erik Johnston | 2020-07-01 | 1 | -1/+1 |
| | | | | Introduced in #7755, not yet released. | ||||
* | Add some metrics for inbound and outbound federation processing times (#7755) | Erik Johnston | 2020-06-30 | 1 | -1/+9 |
| | |||||
* | Replace iteritems/itervalues/iterkeys with native versions. (#7692) | Patrick Cloke | 2020-06-15 | 1 | -3/+1 |
| | |||||
* | add a comment | Richard van der Hoff | 2020-05-21 | 1 | -0/+3 |
| | |||||
* | Fix catchup-on-reconnect for the Federation Stream (#7374) | Richard van der Hoff | 2020-05-05 | 3 | -9/+15 |
| | | | | looks like we managed to break this during the refactorathon. | ||||
* | Move catchup of replication streams to worker. (#7024) | Erik Johnston | 2020-03-25 | 1 | -0/+9 |
| | | | This changes the replication protocol so that the server does not send down `RDATA` for rows that happened before the client connected. Instead, the server will send a `POSITION` and clients then query the database (or master out of band) to get up to date. | ||||
* | Add typing to synapse.federation.sender (#6871) | Erik Johnston | 2020-02-07 | 3 | -101/+102 |
| | |||||
* | Wake up transaction queue when remote server comes back online (#6706) | Erik Johnston | 2020-01-17 | 1 | -2/+16 |
| | | | | | This will be used to retry outbound transactions to a remote server if we think it might have come back up. | ||||
* | Add StateMap type alias (#6715) | Erik Johnston | 2020-01-16 | 1 | -1/+2 |
| | |||||
* | Clean up newline quote marks around the codebase (#6362) | Andrew Morgan | 2019-11-21 | 2 | -3/+3 |
| | |||||
* | Merge branch 'develop' into cross-signing_federation | Hubert Chathi | 2019-10-31 | 2 | -7/+8 |
|\ | |||||
| * | Update black to 19.10b0 (#6304) | Amber Brown | 2019-11-01 | 1 | -5/+6 |
| | | | | | | * update version of black and also fix the mypy config being overridden | ||||
| * | Remove usage of deprecated logger.warn method from codebase (#6271) | Andrew Morgan | 2019-10-31 | 1 | -2/+2 |
| | | | | | | Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated. | ||||
* | | rename get_devices_by_remote to get_device_updates_by_remote | Hubert Chathi | 2019-10-30 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'develop' into cross-signing_federation | Hubert Chathi | 2019-10-24 | 1 | -1/+1 |
|\| | |||||
| * | Move storage classes into a main "data store". | Erik Johnston | 2019-10-21 | 1 | -1/+1 |
| | | | | | | | | | | This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage. | ||||
* | | implement federation parts of cross-signing | Hubert Chathi | 2019-10-22 | 1 | -2/+2 |
|/ | |||||
* | add some metrics on the federation sender (#6160) | Richard van der Hoff | 2019-10-03 | 1 | -5/+6 |
| | |||||
* | use access methods (duh..) | Jorik Schellekens | 2019-09-05 | 1 | -1/+3 |
| | | | Co-Authored-By: Erik Johnston <erik@matrix.org> | ||||
* | Link the send loop with the edus contexts | Jorik Schellekens | 2019-09-05 | 1 | -3/+8 |
| | | | | | | The contexts were being filtered too early so the send loop wasn't being linked to them unless the destination was whitelisted. | ||||
* | Propagate opentracing contexts through EDUs (#5852) | Jorik Schellekens | 2019-08-22 | 1 | -73/+97 |
| | | | | | Propagate opentracing contexts through EDUs Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 2 | -3/+3 |
| | |||||
* | remove dead transaction persist code (#5622) | Richard van der Hoff | 2019-07-05 | 1 | -9/+0 |
| | | | | this hasn't done anything for years | ||||
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -4/+8 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 3 | -58/+54 |
| | |||||
* | Add experimental option to reduce extremities. | Erik Johnston | 2019-06-18 | 1 | -0/+3 |
| | | | | | | | Adds new config option `cleanup_extremities_with_dummy_events` which periodically sends dummy events to rooms with more than 10 extremities. THIS IS REALLY EXPERIMENTAL. | ||||
* | Clean up code for sending federation EDUs. (#5381) | Richard van der Hoff | 2019-06-13 | 1 | -14/+26 |
| | | | | This code confused the hell out of me today. Split _get_new_device_messages into its two (unrelated) parts. | ||||
* | Prevent multiple device list updates from breaking a batch send (#5156) | Andrew Morgan | 2019-06-06 | 1 | -2/+3 |
| | | | fixes #5153 | ||||
* | Run `black` on per_destination_queue | Richard van der Hoff | 2019-05-09 | 1 | -35/+39 |
| | | | | ... mostly to fix pep8 fails | ||||
* | Limit the number of EDUs in transactions to 100 as expected by receiver (#5138) | Quentin Dufour | 2019-05-09 | 1 | -26/+30 |
| | | | Fixes #3951. | ||||
* | Use event streams to calculate presence | Erik Johnston | 2019-03-27 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | | | Primarily this fixes a bug in the handling of remote users joining a room where the server sent out the presence for all local users in the room to all servers in the room. We also change to using the state delta stream, rather than the distributor, as it will make it easier to split processing out of the master process (as well as being more flexible). Finally, when sending presence states to newly joined servers we filter out old presence states to reduce the number sent. Initially we filter out states that are offline and have a last active more than a week ago, though this can be changed down the line. Fixes #3962 | ||||
* | Batch up outgoing read-receipts to reduce federation traffic. (#4890) | Richard van der Hoff | 2019-03-20 | 2 | -21/+158 |
| | | | | Rate-limit outgoing read-receipts as per #4730. | ||||
* | Rename and move the classes | Richard van der Hoff | 2019-03-13 | 3 | -0/+853 |