Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-04-12 | Add some comments | Erik Johnston | 1 | -0/+15 | |
2017-04-12 | Remove last reference to worker_replication_url | Erik Johnston | 1 | -1/+2 | |
2017-04-12 | Comment | Erik Johnston | 1 | -2/+1 | |
2017-04-12 | Reuse get_interested_parties | Erik Johnston | 2 | -19/+8 | |
2017-04-11 | Add a counter metric for successfully-sent transactions | Paul "LeoNerd" Evans | 1 | -0/+3 | |
2017-04-11 | Bail on where clause instead | Erik Johnston | 1 | -3/+4 | |
2017-04-11 | Don't bother with outer check for now | Erik Johnston | 1 | -3/+0 | |
2017-04-11 | Update replication docs | Erik Johnston | 1 | -22/+4 | |
2017-04-11 | Update workers docs | Erik Johnston | 1 | -10/+5 | |
2017-04-11 | Move get_presence_list_* to SlaveStore | Erik Johnston | 3 | -24/+13 | |
2017-04-11 | Comment | Erik Johnston | 2 | -1/+9 | |
2017-04-11 | Move get_interested_parties | Erik Johnston | 2 | -38/+36 | |
2017-04-11 | Comments | Erik Johnston | 2 | -9/+10 | |
2017-04-11 | Move get_interested_remotes back to presence handler | Erik Johnston | 2 | -38/+55 | |
2017-04-11 | Comments | Erik Johnston | 1 | -1/+14 | |
2017-04-11 | Bump changelog github/release-v0.20.0 release-v0.20.0 | Erik Johnston | 1 | -1/+1 | |
2017-04-11 | Remove test of replication resource | Erik Johnston | 1 | -204/+0 | |
2017-04-11 | Fix getting latest device IP for user with no devices | Erik Johnston | 1 | -0/+5 | |
2017-04-11 | Remove HTTP replication APIs | Erik Johnston | 5 | -753/+0 | |
2017-04-10 | trust a hypothetical future riot.im IS | Matthew Hodgson | 1 | -0/+1 | |
2017-04-10 | Use generators | Erik Johnston | 1 | -2/+2 | |
2017-04-10 | Dedupe KeyedEdu and Devices federation repl traffic | Erik Johnston | 1 | -6/+9 | |
2017-04-10 | Reduce federation presence replication traffic | Erik Johnston | 6 | -80/+139 | |
This is mainly done by moving the calculation of where to send presence updates from the presence handler to the transaction queue, so we only need to send the presence event (and not the destinations) across the replication connection. Before we were duplicating by sending the full state across once per destination. | |||||
2017-04-10 | Typo | Erik Johnston | 1 | -1/+1 | |
2017-04-10 | Rename variable | Erik Johnston | 1 | -7/+7 | |
2017-04-10 | Up replication ping timeout | Erik Johnston | 1 | -2/+4 | |
2017-04-10 | Revert to sending the same data type as before | Erik Johnston | 1 | -2/+2 | |
2017-04-10 | Change name | Erik Johnston | 1 | -2/+2 | |
2017-04-10 | Comments | Erik Johnston | 2 | -6/+8 | |
2017-04-07 | When we do an invite rejection, save the signed leave event to the db | Richard van der Hoff | 1 | -4/+4 | |
During a rejection of an invite received over federation, we ask a remote server to make us a `leave` event, then sign it, then send that with `send_leave`. We were saving the *unsigned* version of the event (which has a different event id to the signed version) to our db (and sending it to the clients), whereas other servers in the room will have seen the *signed* version. We're not aware of any actual problems that caused, except that it makes the database confusing to look at and generally leaves the room in a weird state. | |||||
2017-04-07 | Comment | Erik Johnston | 1 | -0/+9 | |
2017-04-07 | Comment | Erik Johnston | 1 | -2/+15 | |
2017-04-07 | Add logging | Erik Johnston | 1 | -0/+8 | |
2017-04-07 | Fix up federation SendQueue and document types | Erik Johnston | 2 | -91/+221 | |
2017-04-07 | Speed up get_current_state_ids | Erik Johnston | 1 | -10/+17 | |
Using _simple_select_list is fairly expensive for functions that return a lot of rows and/or get called a lot. (This is because it carefully constructs a list of dicts). get_current_state_ids gets called a lot on startup and e.g. when the IRC bridge decided to send tonnes of joins/leaves (as it invalidates the cache). We therefore replace it with a custon txn function that builds up the final result dict without building up and intermediate representation. | |||||
2017-04-07 | Bump version and changelog | Erik Johnston | 2 | -1/+10 | |
2017-04-06 | fix typo in synctl help | Kim Brose | 1 | -1/+1 | |
2017-04-06 | Use iteritems | Erik Johnston | 1 | -2/+2 | |
2017-04-06 | Comment | Erik Johnston | 1 | -1/+1 | |
2017-04-06 | Document types of the replication streams | Erik Johnston | 1 | -28/+76 | |
2017-04-06 | Docs | Erik Johnston | 1 | -0/+7 | |
2017-04-06 | Fix incorrect type when using InvalidateCacheCommand | Erik Johnston | 1 | -1/+1 | |
2017-04-05 | Support authenticated SMTP | Daniel Dent | 2 | -1/+21 | |
Closes (SYN-714) #1385 Signed-off-by: Daniel Dent <matrixcontrib@contactdaniel.net> | |||||
2017-04-05 | Add log lines | Erik Johnston | 1 | -1/+2 | |
2017-04-05 | Rearrange metrics | Erik Johnston | 2 | -19/+31 | |
2017-04-05 | Fix typo | Erik Johnston | 1 | -2/+2 | |
2017-04-05 | Fixup some metrics for tcp repl | Erik Johnston | 2 | -0/+19 | |
2017-04-05 | Don't immediately notify the master about users whose syncs have gone away | Erik Johnston | 1 | -4/+36 | |
2017-04-05 | Don't double json encode typing replication data | Erik Johnston | 2 | -6/+2 | |
2017-04-05 | Don't double json encode federation replication data | Erik Johnston | 2 | -13/+10 | |
2017-04-04 | Add comment | Erik Johnston | 1 | -0/+5 | |
2017-04-04 | Deduplicate new deviceinbox rows for replication | Erik Johnston | 1 | -4/+7 | |
2017-04-04 | Add the appropriate amount of preserve_fn | Erik Johnston | 4 | -17/+19 | |
2017-04-04 | Fiddle tcp replication logging | Erik Johnston | 1 | -2/+2 | |
2017-04-04 | Advance replication streams even if nothing is listening | Erik Johnston | 3 | -6/+15 | |
Otherwise the streams don't advance and steadily fall behind, so when a worker does connect either a) they'll be streamed lots of old updates or b) the connection will fail as the streams are too far behind. | |||||
2017-04-04 | Remove unused worker config option | Erik Johnston | 1 | -1/+0 | |
2017-04-04 | Shuffle and comment synchrotron presence | Erik Johnston | 1 | -9/+11 | |
2017-04-04 | Move where we ack federation | Erik Johnston | 1 | -7/+16 | |
2017-04-03 | Accept join events from all servers | Richard van der Hoff | 2 | -5/+19 | |
Make sure that we accept join events from any server, rather than just the origin server, to make the federation join dance work correctly. (Fixes #1893). | |||||
2017-04-03 | Remove spurious yield | Richard van der Hoff | 1 | -1/+1 | |
In `MessageHandler`, remove `yield` on call to `Notifier.on_new_room_event`: it doesn't return anything anyway. | |||||
2017-04-03 | Remove more spurious `PreserveLoggingContext`s | Richard van der Hoff | 1 | -24/+19 | |
Remove `PreserveLoggingContext` around calls to `Notifier.on_new_room_event`; there is no problem if the logcontext is set when calling it. | |||||
2017-04-03 | Remove spurious PreserveLoggingContext | Richard van der Hoff | 1 | -6/+5 | |
In `on_new_room_event`, remove `PreserveLoggingContext` - we can call its subroutines with the logcontext set. | |||||
2017-04-03 | preserve_fn some deferred-returning things | Richard van der Hoff | 1 | -2/+5 | |
In `Notifier._on_new_room_event`, `preserve_fn` around its subroutines which return deferreds, so that it is safe to call it with an active logcontext. | |||||
2017-04-03 | Fix fixme in preserve_fn | Richard van der Hoff | 1 | -5/+1 | |
`preserve_fn` is no longer used as a decorator anywhere, so we can safely fix a fixme therein. | |||||
2017-04-03 | Update all the workers and master to use TCP replication | Erik Johnston | 9 | -401/+259 | |
2017-04-03 |