summary refs log tree commit diff
path: root/tests/storage/test_cleanup_extrems.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to wait for replication streams (#7542)Erik Johnston2020-05-221-2/+2
| | | | | | | The idea here is that if an instance persists an event via the replication HTTP API it can return before we receive that event over replication, which can lead to races where code assumes that persisting an event immediately updates various caches (e.g. current state of the room). Most of Synapse doesn't hit such races, so we don't do the waiting automagically, instead we do so where necessary to avoid unnecessary delays. We may decide to change our minds here if it turns out there are a lot of subtle races going on. People probably want to look at this commit by commit.
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-6/+4
| | | | Ensure good comprehension hygiene using flake8-comprehensions.
* Move background update handling out of storeErik Johnston2019-12-051-4/+10
|
* Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-051-1/+3
|
* Move storage classes into a main "data store".Erik Johnston2019-10-211-0/+2
| | | | | This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage.
* Fix dummy event insertion consent bug (#6053)Neil Johnson2019-09-261-9/+138
| | | Fixes #5905
* Run as background process and fix commentsErik Johnston2019-06-191-1/+1
|
* Add experimental option to reduce extremities.Erik Johnston2019-06-181-0/+41
| | | | | | | 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.
* Expose statistics on extrems to prometheus (#5384)Amber Brown2019-06-131-79/+49
|
* Set default room version to v4. (#5379)Neil Johnson2019-06-061-0/+6
| | | | Set default room version to v4.
* Add testErik Johnston2019-05-291-0/+248