summary refs log tree commit diff
path: root/synapse/replication/tcp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Workaround for assertion errors from db_query_to_update_function (#7378)Richard van der Hoff2020-05-011-2/+1
* Add instance name to RDATA/POSITION commands (#7364)Erik Johnston2020-04-292-14/+40
* Don't relay REMOTE_SERVER_UP cmds to same conn. (#7352)Erik Johnston2020-04-293-16/+51
* Fix limit logic for EventsStream (#7358)Richard van der Hoff2020-04-292-15/+11
* Run replication streamers on workers (#7146)Erik Johnston2020-04-281-18/+15
* Fix EventsStream raising assertions when it falls behindRichard van der Hoff2020-04-241-18/+95
* Make it clear that the limit for an update_function is a targetRichard van der Hoff2020-04-231-5/+9
* Remove 'limit' param from `get_repl_stream_updates` APIRichard van der Hoff2020-04-231-4/+1
* Stop the master relaying USER_SYNC for other workers (#7318)Richard van der Hoff2020-04-222-12/+10
* Fix replication metrics when using redis (#7325)Erik Johnston2020-04-222-37/+29
* Another go at fixing one-word commands (#7326)Richard van der Hoff2020-04-221-1/+1
* Add ability to run replication protocol over redis. (#7040)Erik Johnston2020-04-225-34/+255
* On catchup, process each row with its own stream id (#7286)Richard van der Hoff2020-04-201-5/+68
* Improve type checking in `replication.tcp.Stream` (#7291)Richard van der Hoff2020-04-174-122/+142
* Fix 'generator object is not subscriptable' error (#7290)Richard van der Hoff2020-04-161-1/+2
* Handle one-word replication commands correctlyRichard van der Hoff2020-04-071-3/+11
* Fix warnings about not calling superclass constructorRichard van der Hoff2020-04-071-15/+24
* Remove vestigal references to SYNC replication commandRichard van der Hoff2020-04-072-14/+0
* Fix race in replication (#7226)Erik Johnston2020-04-072-29/+47
* Move server command handling out of TCP protocol (#7187)Erik Johnston2020-04-073-269/+236
* Move client command handling out of TCP protocol (#7185)Erik Johnston2020-04-064-322/+336
* Remove connections per replication stream metric. (#7195)Erik Johnston2020-04-011-16/+0
* Remove usage of "conn_id" for presence. (#7128)Erik Johnston2020-03-304-18/+50
* Move catchup of replication streams to worker. (#7024)Erik Johnston2020-03-258-229/+225
* Convert `*StreamRow` classes to inner classes (#7116)Richard van der Hoff2020-03-232-96/+101
* Fix processing of `groups` stream, and use symbolic names for streams (#7117)Richard van der Hoff2020-03-231-18/+52
* Remove concept of a non-limited stream. (#7011)Erik Johnston2020-03-202-47/+28
* Change device list replication to match new semantics.Erik Johnston2020-02-281-4/+9
* Port PresenceHandler to async/await (#6991)Erik Johnston2020-02-261-1/+5
* Increase MAX_EVENTS_BEHIND for replication clientsErik Johnston2020-02-211-1/+1
* Fix sending server up commands from workers (#6811)Erik Johnston2020-01-301-0/+4
* Propagate cache invalidates from workers to other workers. (#6748)Erik Johnston2020-01-272-4/+7
* Allow streaming cache invalidate all to workers. (#6749)Erik Johnston2020-01-221-5/+21
* Wake up transaction queue when remote server comes back online (#6706)Erik Johnston2020-01-174-0/+44
* Port synapse.replication.tcp to async/await (#6666)Erik Johnston2020-01-165-85/+63
* Fixup synapse.replication to pass mypy checks (#6667)Erik Johnston2020-01-147-77/+93
* Reduce the reconnect time when replication fails. (#6617)Richard van der Hoff2020-01-031-1/+2
* lintAndrew Morgan2019-11-081-2/+1
* Remove content from being sent for account data rdata streamAndrew Morgan2019-11-081-3/+3
* document the REPLICATE command a bit better (#6305)Richard van der Hoff2019-11-042-8/+86
* Merge branch 'develop' into uhoreg/cross_signing_fix_workers_notifyHubert Chathi2019-10-312-2/+2
|\
| * Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-312-2/+2
* | make user signatures a separate streamHubert Chathi2019-10-302-0/+19
|/
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-4/+4
* Replace returnValue with return (#5736)Amber Brown2019-07-232-7/+7
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Run Black. (#5482)Amber Brown2019-06-207-183/+228
* Fix relations in worker modeErik Johnston2019-05-162-5/+7
* Combine the CurrentStateDeltaStream into the EventStreamRichard van der Hoff2019-03-273-23/+33
* Make EventStream rows have a typeRichard van der Hoff2019-03-272-14/+88
* Skip building a ROW_TYPE when building updatesRichard van der Hoff2019-03-271-2/+2
* Add parse_row method to replication stream classRichard van der Hoff2019-03-273-3/+19
* move FederationStream out to its own fileRichard van der Hoff2019-03-274-23/+43
* move EventsStream out to its own fileRichard van der Hoff2019-03-273-23/+42
* Move replication.tcp.streams into a packageRichard van der Hoff2019-03-272-33/+51
* Fix/improve some docstrings in the replication code. (#4949)Richard van der Hoff2019-03-272-7/+19
* Fix ClientReplicationStreamProtocol.__str__ (#4929)Richard van der Hoff2019-03-252-4/+5
* Fix bug where read-receipts lost their timestamps (#4927)Richard van der Hoff2019-03-252-11/+27
* Add a config option for torture-testing worker replication. (#4902)Richard van der Hoff2019-03-201-1/+17
* Simplify token replication logicAndrew Morgan2019-03-051-23/+14
* Clean up logic and add commentsAndrew Morgan2019-03-041-11/+18
* Clearer branching, fix missing list clearAndrew Morgan2019-03-041-4/+11
* Prevent replication wedgingAndrew Morgan2019-03-041-4/+24
* Merge pull request #4749 from matrix-org/erikj/replication_connection_backoffErik Johnston2019-02-273-5/+39
|\
| * Move connecting logic into ClientReplicationStreamProtocolErik Johnston2019-02-272-18/+17
| * Increase the max delay between retry attemptsErik Johnston2019-02-261-1/+1
| * Fix tightloop over connecting to replication serverErik Johnston2019-02-262-4/+39
* | Limit cache invalidation replication line length (#4748)Erik Johnston2019-02-271-1/+16
|/
* Don't truncate command name in metricsErik Johnston2018-10-291-2/+2
* Make the replication logger quieter (#4108)Amber Brown2018-10-291-1/+1
* Fix minor typo in exceptionTravis Ralston2018-09-131-1/+1
* Remove conn_idErik Johnston2018-09-041-2/+2
* Remove conn_id from repl prometheus metricsErik Johnston2018-09-031-10/+10
* Logcontexts for replication command handlersRichard van der Hoff2018-08-173-15/+43
* Fix unit testsRichard van der Hoff2018-07-251-1/+1
* Wrap a number of things that run in the backgroundRichard van der Hoff2018-07-251-6/+8
* run isortAmber Brown2018-07-094-30/+41
* Attempt to be more performant on PyPy (#3462)Amber Brown2018-06-281-6/+10
* Remove all global reactor imports & pass it around explicitly (#3424)Amber Brown2018-06-252-5/+5
* Fix tcp protocol metrics naming (#3410)Amber Brown2018-06-211-18/+35
* Fix replication metricsRichard van der Hoff2018-06-041-2/+2
* Merge remote-tracking branch 'origin/develop' into 3218-official-promAmber Brown2018-05-282-8/+9
|\
| * Merge pull request #3244 from NotAFile/py3-six-4Amber Brown2018-05-242-5/+7
| |\
| | * replace some iteritems with sixAdrian Tschira2018-05-192-5/+7
* | | more cleanupAmber Brown2018-05-222-6/+10
* | | fix the test failuresAmber Brown2018-05-221-1/+1
* | | cleanups, self-registrationAmber Brown2018-05-221-4/+5
* | | Merge remote-tracking branch 'origin/develop' into 3218-official-promAmber Brown2018-05-221-0/+2
|\| |
| * | Send users a server notice about consentRichard van der Hoff2018-05-221-0/+2
| |/
* | rest of the changesAmber Brown2018-05-211-16/+14
* | replacing portionsAmber Brown2018-05-211-54/+34
|/
* make imports localAdrian Tschira2018-04-282-4/+4
* Fix json encoding bug in replicationRichard van der Hoff2018-04-031-1/+1
* Use static JSONEncodersRichard van der Hoff2018-03-291-3/+5
* Explicitly use simplejsonErik Johnston2018-03-201-7/+7
* Fix replication after switch to simplejsonErik Johnston2018-03-191-2/+4
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2018-03-191-1/+1
|\
| * Replace ujson with simplejsonErik Johnston2018-03-151-1/+1
* | Metrics for number of RDATA commands receivedRichard van der Hoff2018-01-151-5/+14
|/
* Fix some logcontext leaks in replication resourceRichard van der Hoff2017-11-231-2/+4
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
* log when we get an exception handling replication updateshera2017-10-121-1/+5
* Fix replication. And notifyErik Johnston2017-07-201-0/+20
* Reduce log levels in tcp replicationErik Johnston2017-07-111-2/+2
* Serialize user ip command as jsonErik Johnston2017-06-271-5/+9
* Make workers report to master for user ip updatesErik Johnston2017-06-274-0/+55
* Initial worker implErik Johnston2017-06-161-0/+22
* Add missing notifierErik Johnston2017-06-091-1/+2
* TypoErik Johnston2017-04-101-1/+1
* Merge pull request #2109 from matrix-org/erikj/send_queue_fixErik Johnston2017-04-101-2/+2
|\
| * CommentsErik Johnston2017-04-101-2/+2
* | Up replication ping timeoutErik Johnston2017-04-101-2/+4
|/
* Merge pull request #2103 from matrix-org/erikj/no-double-encodeErik Johnston2017-04-071-28/+76
|\
| * Document types of the replication streamsErik Johnston2017-04-061-28/+76
* | Fix incorrect type when using InvalidateCacheCommandErik Johnston2017-04-061-1/+1
* | Add log linesErik Johnston2017-04-051-1/+2
* | Rearrange metricsErik Johnston2017-04-051-16/+31
* | Fix typoErik Johnston2017-04-051-2/+2
* | Fixup some metrics for tcp replErik Johnston2017-04-051-0/+16
|/
* Merge pull request #2097 from matrix-org/erikj/repl_tcp_clientErik Johnston2017-04-051-0/+196
|\
| * Add basic replication client handler and factoryErik Johnston2017-04-031-0/+196
* | Merge pull request #2098 from matrix-org/erikj/repl_tcp_fixErik Johnston2017-04-043-6/+15
|\ \
| * | Advance replication streams even if nothing is listeningErik Johnston2017-04-043-6/+15
| |/
* / Fiddle tcp replication loggingErik Johnston2017-04-041-2/+2
|/
* Always advance stream tokensErik Johnston2017-04-031-1/+4
* Use callbacks to notify tcp replication rather than deferredsErik Johnston2017-03-311-14/+1
* Add a timestamp to USER_SYNC commandErik Johnston2017-03-313-9/+17
* Fix up docsErik Johnston2017-03-312-19/+3
* Add server side resource for tcp replicationErik Johnston2017-03-301-0/+300
* Initial TCP protocol implementationErik Johnston2017-03-303-0/+974
* Define the various streams we will replicateErik Johnston2017-03-302-0/+423