summary refs log tree commit diff
path: root/synapse/storage/util (follow)
Commit message (Expand)AuthorAgeFilesLines
* Revert "Remove slaved id tracker (#14376)" (#14463)Erik Johnston2022-11-161-10/+3
* Remove slaved id tracker (#14376)Nick Mills-Barrett2022-11-141-3/+10
* Cancel the processing of key query requests when they time out. (#13680)reivilibre2022-09-071-0/+3
* When loading current ids, sort by `stream_id` to avoid incorrect overwrite an...Eric Eastwood2022-08-241-2/+11
* Instrument the federation/backfill part of `/messages` (#13489)Eric Eastwood2022-08-161-0/+3
* Log the stack when waiting for an entire room to be un-partial stated (#13257)Sean Quah2022-07-121-0/+1
* Wait for lazy join to complete when getting current state (#12872)Erik Johnston2022-06-011-0/+60
* Await un-partial-stating after a partial-state join (#12399)Richard van der Hoff2022-04-211-0/+120
* Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke2022-01-131-4/+4
* Improve log messages for stream ids (#11536)Richard van der Hoff2021-12-081-3/+3
* Add type hints to `synapse/storage/databases/main/events_worker.py` (#11411)Sean Quah2021-11-261-54/+62
* Add type hints to some storage classes (#11307)Patrick Cloke2021-11-111-2/+22
* Fix race in `MultiWriterIdGenerator` (#11045)Erik Johnston2021-10-121-15/+67
* Annotate synapse.storage.util (#10892)David Robertson2021-10-082-55/+94
* Speed up MultiWriterIdGenerator when lots of IDs are in flight. (#10755)Erik Johnston2021-09-031-2/+3
* Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381)Jonathan de Jong2021-07-152-9/+9
* Fix bug when running presence off master (#10149)Erik Johnston2021-06-111-0/+15
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-143-3/+0
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-081-2/+9
* Refactor to ensure we call check_consistency (#9470)Erik Johnston2021-02-241-2/+22
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-162-10/+11
* Fix some typos.Patrick Cloke2021-02-121-3/+3
* Update type hints for Cursor to match PEP 249. (#9299)Jonathan de Jong2021-02-051-2/+6
* Speed up chain cover calculation (#9176)Erik Johnston2021-01-211-0/+16
* Increase perf of handling concurrent use of StreamIDGenerators. (#9190)Erik Johnston2021-01-211-8/+13
* Add schema update to fix existing DBs affected by #9193 (#9195)Erik Johnston2021-01-211-1/+1
* Fix receipts or account data not being sent down sync (#9193)Erik Johnston2021-01-212-4/+58
* Allow moving account data and receipts streams off master (#9104)Erik Johnston2021-01-181-36/+48
* Fix chain cover background update to work with split out event persisters (#9...Erik Johnston2021-01-141-4/+6
* Convert internal pusher dicts to attrs classes. (#8940)Patrick Cloke2020-12-161-2/+2
* Remove racey assertion in MultiWriterIDGenerator (#8530)Erik Johnston2020-10-141-7/+0
* Make event persisters periodically announce position over replication. (#8499)Erik Johnston2020-10-122-0/+12
* Reduce serialization errors in MultiWriterIdGen (#8456)Erik Johnston2020-10-071-1/+11
* Add logging on startup/shutdown (#8448)Erik Johnston2020-10-022-9/+14
* Merge tag 'v1.21.0rc2' into developRichard van der Hoff2020-10-021-1/+1
|\
| * Fix DB query on startup for negative streams. (#8447)Erik Johnston2020-10-021-1/+1
* | Enable mypy checking for unreachable code and fix instances. (#8432)Patrick Cloke2020-10-011-1/+1
|/
* Don't table scan events on worker startup (#8419)Erik Johnston2020-09-291-1/+25
* Add checks for postgres sequence consistency (#8402)Erik Johnston2020-09-282-2/+93
* Fix schema delta for servers that have not backfilled (#8396)Erik Johnston2020-09-251-1/+5
* Fix MultiWriteIdGenerator's handling of restarts. (#8374)Erik Johnston2020-09-241-21/+127
* Use `async with` for ID gens (#8383)Erik Johnston2020-09-231-54/+76
* Add experimental support for sharding event persister. Again. (#8294)Erik Johnston2020-09-141-4/+6
* Fix `MultiWriterIdGenerator.current_position`. (#8257)Erik Johnston2020-09-081-6/+37
* Add more logging to debug slow startup (#8264)Richard van der Hoff2020-09-071-0/+5
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
* Revert "Add experimental support for sharding event persister. (#8170)" (#8242)Brendan Abolivier2020-09-041-6/+4
* Add experimental support for sharding event persister. (#8170)Erik Johnston2020-09-021-4/+6
* Make MultiWriterIDGenerator work for streams that use negative stream IDs (#8...Erik Johnston2020-09-011-11/+28
* Fix missing _add_persisted_position (#8179)Erik Johnston2020-08-271-0/+2
* Add functions to `MultiWriterIdGen` used by events stream (#8164)Erik Johnston2020-08-252-3/+108
* Make StreamIdGen `get_next` and `get_next_mult` async (#8161)Erik Johnston2020-08-251-5/+5
* Remove `ChainedIdGenerator`. (#8123)Erik Johnston2020-08-191-67/+1
* Separate `get_current_token` into two. (#8113)Erik Johnston2020-08-191-9/+27
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-2/+2
* Use `PostgresSequenceGenerator` from `MultiWriterIdGenerator`Richard van der Hoff2020-07-161-4/+4
* Add some helper classes for generating ID sequencesRichard van der Hoff2020-07-161-0/+98
* Move event stream handling out of slave store. (#7491)Erik Johnston2020-05-151-0/+11
* Add MultiWriterIdGenerator. (#7281)Erik Johnston2020-05-041-2/+167
* Update black to 19.10b0 (#6304)Amber Brown2019-11-011-1/+1
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-2/+2
* Run black on the rest of the storage module (#4996)Amber Brown2019-04-031-5/+5
* run isortAmber Brown2018-07-091-1/+1
* Fix assertion to stop transaction queue getting wedgedRichard van der Hoff2017-03-151-0/+14
* Add tests for redactionsMark Haines2016-04-071-1/+1
* Assert that the step != 0Mark Haines2016-04-011-0/+1
* use google style doc stringsMark Haines2016-04-011-11/+12
* Rename direction to step, apply checks consistentlyMark Haines2016-04-011-15/+15
* Use a stream id generator for backfilled idsMark Haines2016-04-011-20/+41
* Add replication stream for pushersMark Haines2016-03-151-1/+6
* Ensure integer is an integerErik Johnston2016-03-091-1/+1
* Add a stream for push rule updatesMark Haines2016-03-011-26/+58
* Load the current id in the IdGenerator constructorMark Haines2016-03-011-47/+22
* Remove unused param from get_max_tokenErik Johnston2016-02-181-3/+1
* Initial cutErik Johnston2016-02-171-1/+3
* Add a Homeserver.setup method.Erik Johnston2016-01-261-27/+9
* copyrightsMatthew Hodgson2016-01-072-2/+2
* Merge pull request #199 from matrix-org/erikj/receiptsErik Johnston2015-07-161-2/+5
|\
| * Add basic storage functions for handling of receiptsErik Johnston2015-07-011-2/+5
* | Add bulk insert events APIErik Johnston2015-06-251-0/+31
|/
* SYN-377: Make sure that the StreamIdGenerator.get_next.__exit__ is called fro...Mark Haines2015-05-121-4/+8
* TypoErik Johnston2015-04-291-1/+1
* Also remove yield from within lock in the other generatorErik Johnston2015-04-291-8/+6
* Fix deadlock in id_generators. No idea why this was an actual deadlock.Erik Johnston2015-04-291-14/+16
* Make get_max_token into inlineCallbacks so that the lock works.Erik Johnston2015-04-271-3/+4
* Use try..finally in contextlib.contextmanagerErik Johnston2015-04-151-3/+5
* Correctly increment the _next_id initiallyErik Johnston2015-04-141-2/+4
* Stream ordering and out of order insertions.Erik Johnston2015-04-092-0/+140