summary refs log tree commit diff
path: root/synapse/replication/slave/storage/presence.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split presence out of master (#9820)Erik Johnston2021-04-231-50/+0
|
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
| | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py
* Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator ↵Erik Johnston2020-08-261-1/+1
| | | | (#8171)
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-3/+3
|
* Use symbolic names for replication stream names (#7768)Richard van der Hoff2020-07-011-1/+2
| | | This makes it much easier to find where streams are referenced.
* remove redundant `__func__`Richard van der Hoff2020-05-151-4/+4
| | | | this is a no-op under python 3
* Support any process writing to cache invalidation stream. (#7436)Erik Johnston2020-05-071-4/+2
|
* Use `stream.current_token()` and remove `stream_positions()` (#7172)Erik Johnston2020-05-011-9/+0
| | | | We move the processing of typing and federation replication traffic into their handlers so that `Stream.current_token()` points to a valid token. This allows us to remove `get_streams_to_replicate()` and `stream_positions()`.
* Fixup synapse.replication to pass mypy checks (#6667)Erik Johnston2020-01-141-1/+1
|
* Change DataStores to accept 'database' param.Erik Johnston2019-12-061-2/+3
|
* Move storage classes into a main "data store".Erik Johnston2019-10-211-1/+1
| | | | | This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage.
* Run Black. (#5482)Amber Brown2019-06-201-6/+2
|
* Remove presence lists (#4989)Neil Johnson2019-04-031-10/+0
| | | Remove presence list support as per MSC 1819
* When presence is enabled don't send over replicationErik Johnston2019-02-271-2/+5
|
* Make workers work on Py3 (#4027)Amber Brown2018-10-131-3/+3
|
* run isortAmber Brown2018-07-091-4/+4
|
* Move get_presence_list_* to SlaveStoreErik Johnston2017-04-111-0/+10
|
* Change slave storage to use new replication interfaceErik Johnston2017-04-031-10/+9
| | | | | | | As the TCP replication uses a slightly different API and streams than the HTTP replication. This breaks HTTP replication.
* Use presence replication stream to invalidate cacheErik Johnston2017-03-241-0/+1
| | | | | | Instead of using the cache invalidation replication stream to invalidate the _get_presence_cache, we can instead rely on the presence replication stream. This reduces the amount of replication traffic considerably.
* Cache get_presence storageErik Johnston2017-02-131-1/+3
|
* Add a slaved store for presenceMark Haines2016-06-031-0/+59