summary refs log tree commit diff
path: root/synapse/storage/databases/main/events_worker.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Bump black from 22.12.0 to 23.1.0 (#15103)dependabot[bot]2023-02-221-1/+1
* Add `event_stream_ordering` column to membership state tables (#14979)Nick Mills-Barrett2023-02-071-4/+4
* Add helper to parse an enum from query args & use it. (#14956)Patrick Cloke2023-02-011-7/+4
* Skip processing stats for broken rooms. (#14873)Patrick Cloke2023-01-231-1/+5
* Enable Faster Remote Room Joins against worker-mode Synapse. (#14752)reivilibre2023-01-221-5/+8
* Always notify replication when a stream advances (#14877)Erik Johnston2023-01-201-1/+9
* Update all stream IDs after processing replication rows (#14723)Nick Mills-Barrett2023-01-041-5/+10
* Faster remote room joins: invalidate caches and unblock requests when receivi...reivilibre2022-12-191-12/+15
* Faster remote room joins: stream the un-partial-stating of events over replic...reivilibre2022-12-141-0/+88
* Allow selecting "prejoin" events by state keys (#14642)David Robertson2022-12-131-14/+19
* Reintroduce #14376, with bugfix for monoliths (#14468)David Robertson2022-11-161-21/+14
* Remove redundant types from comments. (#14412)Patrick Cloke2022-11-161-1/+1
* Revert "Remove slaved id tracker (#14376)" (#14463)Erik Johnston2022-11-161-14/+21
* Update docstring to clarify that `get_partial_state_events_batch` does not ju...reivilibre2022-11-151-1/+9
* Remove slaved id tracker (#14376)Nick Mills-Barrett2022-11-141-21/+14
* Merge/remove `Slaved*` stores into `WorkerStores` (#14375)Nick Mills-Barrett2022-11-111-0/+16
* Fix MSC3030 `/timestamp_to_event` returning `outliers` that it has no idea wh...Eric Eastwood2022-10-181-21/+38
* Avoid checking the event cache when backfilling events (#14164)Andrew Morgan2022-10-181-1/+1
* Remove `_get_events_cache` check optimisation from `_have_seen_events_dict` (...Andrew Morgan2022-10-181-18/+13
* Fix a bug where redactions were not being sent over federation if we did not ...Shay2022-10-111-4/+11
* Fix `have_seen_event` cache not being invalidated (#13863)Eric Eastwood2022-09-271-18/+22
* Cancel the processing of key query requests when they time out. (#13680)reivilibre2022-09-071-0/+4
* Rename the `EventFormatVersions` enum values so that they line up with room v...reivilibre2022-09-071-3/+3
* Give the correct next event when the message timestamps are the same - MSC303...Eric Eastwood2022-08-301-2/+10
* Instrument the federation/backfill part of `/messages` (#13489)Eric Eastwood2022-08-161-7/+31
* Update the rejected state of events during resync (#13459)Richard van der Hoff2022-08-111-0/+60
* Optimise async get event lookups (#13435)Nick Mills-Barrett2022-08-041-7/+68
* Fix infinite loop in partial-state resync (#13353)Richard van der Hoff2022-07-261-1/+19
* Rate limit joins per-room (#13276)David Robertson2022-07-191-8/+14
* Safe async event cache (#13308)Nick Mills-Barrett2022-07-191-9/+39
* Revert "Make all `process_replication_rows` methods async (#13304)" (#13312)Erik Johnston2022-07-181-2/+2
* Make all `process_replication_rows` methods async (#13304)Nick Mills-Barrett2022-07-171-2/+2
* Async get event cache prep (#13242)Nick Mills-Barrett2022-07-151-10/+24
* Federation Sender & Appservice Pusher Stream Optimisations (#13251)Nick Mills-Barrett2022-07-151-19/+0
* Stop reading from `event_edges.room_id`. (#12914)Richard van der Hoff2022-05-311-18/+15
* Refactor have_seen_events to reduce OOMs (#12886)Richard van der Hoff2022-05-271-18/+24
* Track in memory events using weakrefs (#10533)Erik Johnston2022-05-171-2/+33
* remove constantly lib use and switch to enums. (#12624)andrew do2022-05-041-21/+21
* Add a consistency check on events read from the database (#12620)Richard van der Hoff2022-05-031-0/+12
* Handle cancellation in `EventsWorkerStore._get_events_from_cache_or_db` (#12529)Sean Quah2022-04-251-34/+49
* Await un-partial-stating after a partial-state join (#12399)Richard van der Hoff2022-04-211-1/+9
* Implement MSC2815: allow room moderators to view redacted event content (#12427)Tulir Asokan2022-04-201-0/+18
* Resync state after partial-state join (#12394)Richard van der Hoff2022-04-121-0/+24
* Optimise `_get_state_after_missing_prev_event`: use `/state` (#12040)Richard van der Hoff2022-04-011-5/+3
* Allow for ignoring some arguments when caching. (#12189)Patrick Cloke2022-03-091-2/+2
* Faster joins: persist to database (#12012)Richard van der Hoff2022-03-011-0/+28
* Fix 500 error with Postgres when looking backwards with the MSC3030 `/timesta...Eric Eastwood2022-02-181-1/+1
* Fix incorrect thread summaries when the latest event is edited. (#11992)Patrick Cloke2022-02-151-1/+1
* Remove redundant `get_current_events_token` (#11643)Richard van der Hoff2022-01-041-4/+0
* Disambiguate queries on `state_key` (#11497)Richard van der Hoff2021-12-021-8/+8
* Add MSC3030 experimental client and federation API endpoints to get the close...Eric Eastwood2021-12-021-0/+195
* Add type hints to `synapse/storage/databases/main/events_worker.py` (#11411)Sean Quah2021-11-261-76/+142
* Track ongoing event fetches correctly (again) (#11376)Sean Quah2021-11-261-42/+112
* Track ongoing event fetches correctly in the presence of failure (#11240)Sean Quah2021-11-041-22/+34
* Add missing type hints to event fetching. (#11121)Patrick Cloke2021-10-191-61/+81
* Remove unnecessary parentheses around tuples returned from methods (#10889)Andrew Morgan2021-09-231-1/+1
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-1/+1
* Fix perf of fetching the same events many times. (#10703)Erik Johnston2021-08-271-6/+23
* Improve event caching code (#10119)Erik Johnston2021-08-041-39/+105
* Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381)Jonathan de Jong2021-07-151-3/+3
* add a cache to have_seen_event (#9953)Richard van der Hoff2021-06-011-9/+52
* Remove `keylen` from `LruCache`. (#9993)Richard van der Hoff2021-05-241-1/+0
* Remove `synapse.types.Collection` (#9856)Richard van der Hoff2021-04-221-2/+11
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Replace `room_invite_state_types` with `room_prejoin_state` (#9700)Richard van der Hoff2021-03-301-2/+2
* Prep work for removing `outlier` from `internal_metadata` (#9411)Richard van der Hoff2021-03-171-1/+4
* Optimise missing prev_event handling (#9601)Richard van der Hoff2021-03-151-7/+5
* Refactor to ensure we call check_consistency (#9470)Erik Johnston2021-02-241-0/+16
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-7/+9
* Allow moving account data and receipts streams off master (#9104)Erik Johnston2021-01-181-6/+2
* Fix optional parameter in stripped state storage method (#8688)Andrew Morgan2020-10-301-1/+1
* Don't pull event from DB when handling replication traffic. (#8669)Erik Johnston2020-10-281-2/+6
* Abstract code for stripping room state into a separate method (#8671)Andrew Morgan2020-10-271-1/+53
* Consistently use wrap_as_background_task in more places (#8599)Patrick Cloke2020-10-201-5/+6
* Replace DeferredCache with LruCache where possible (#8563)Richard van der Hoff2020-10-191-6/+5
* Clean-up old transaction IDs on the background worker. (#8544)Patrick Cloke2020-10-161-1/+1
* move DeferredCache into its own moduleRichard van der Hoff2020-10-141-1/+2
* Rename Cache->DeferredCacheRichard van der Hoff2020-10-141-2/+2
* Fix message duplication if something goes wrong after persisting the event (#...Erik Johnston2020-10-131-1/+82
* Only send RDATA for instance local events. (#8496)Erik Johnston2020-10-091-14/+18
* Remove stream ordering from Metadata dict (#8452)Richard van der Hoff2020-10-051-10/+16
* Speed up unit tests when using PostgreSQL (#8450)Erik Johnston2020-10-021-1/+12
* Fix MultiWriteIdGenerator's handling of restarts. (#8374)Erik Johnston2020-09-241-0/+4
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
* Remove obsolete __future__ imports (#8337)Jonathan de Jong2020-09-171-2/+0
* Add experimental support for sharding event persister. Again. (#8294)Erik Johnston2020-09-141-19/+47
* Revert "Add experimental support for sharding event persister. (#8170)" (#8242)Brendan Abolivier2020-09-041-47/+19
* Add experimental support for sharding event persister. (#8170)Erik Johnston2020-09-021-19/+47
* Convert additional databases to async/await (#8199)Patrick Cloke2020-09-011-20/+28
* Make SlavedIdTracker.advance have same interface as MultiWriterIDGenerator (#...Erik Johnston2020-08-261-2/+2
* Convert simple_select_one and simple_select_one_onecol to async (#8162)Patrick Cloke2020-08-261-5/+5
* Be more tolerant of membership events in unknown rooms (#8110)Richard van der Hoff2020-08-201-6/+25
* Be stricter about JSON that is accepted by Synapse (#8106)Patrick Cloke2020-08-191-2/+14
* Convert events worker database to async/await. (#8071)Patrick Cloke2020-08-181-58/+74
* Convert some of the general database methods to async (#8100)Patrick Cloke2020-08-171-7/+9
* Remove some unused database functions. (#8085)Patrick Cloke2020-08-141-169/+1
* Revert #7736 (#8039)Brendan Abolivier2020-08-061-85/+1
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-0/+1454