summary refs log tree commit diff
path: root/synapse/replication/slave/storage/receipts.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove old empty/redundant slaved stores. (#13349)Nick Mills-Barrett2022-07-211-20/+0
|
* Use cache store remove base slaved (#13329)Nick Mills-Barrett2022-07-211-3/+1
| | | This comes from two identical definitions in each of the base stores, and means the base slaved store is now empty and can be removed.
* 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>`
* Allow moving account data and receipts streams off master (#9104)Erik Johnston2021-01-181-34/+1
|
* 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-9/+2
| | | This makes it much easier to find where streams are referenced.
* 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-5/+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()`.
* 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-1/+0
|
* Use stream cache in get_linearized_receipts_for_roomErik Johnston2018-07-101-1/+1
| | | | | This avoids us from uncessarily hitting the database when there has been no change for the room
* run isortAmber Brown2018-07-091-2/+2
|
* Fix missing invalidations for receipt storageErik Johnston2018-02-211-0/+2
|
* Fix commentErik Johnston2018-02-201-1/+1
|
* Use abstract base class to access stream IDsErik Johnston2018-02-201-2/+7
|
* Split ReceiptsStoreErik Johnston2018-02-201-28/+5
|
* Change slave storage to use new replication interfaceErik Johnston2017-04-031-11/+13
| | | | | | | As the TCP replication uses a slightly different API and streams than the HTTP replication. This breaks HTTP replication.
* Add methods to events, account data and receipt slavesMark Haines2016-06-031-1/+24
| | | | | Adds the methods needed by /sync to the slaved events, account data and receipt stores.
* Assert that stream replicated stream positions are intsMark Haines2016-05-131-1/+1
|
* Add a slaved receipts storeMark Haines2016-04-191-0/+61