summary refs log tree commit diff
path: root/synapse/storage/databases/main/event_federation.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Lint github/clokep/psycopg3 clokep/psycopg3Patrick Cloke2023-11-091-1/+1
* Merge remote-tracking branch 'origin/develop' into clokep/psycopg3Patrick Cloke2023-11-091-14/+10
|\
| * Convert simple_select_one_txn and simple_select_one to return tuples. (#16612)Patrick Cloke2023-11-091-14/+10
* | Merge remote-tracking branch 'origin/develop' into clokep/psycopg3Patrick Cloke2023-11-091-58/+67
|\|
| * Convert simple_select_list and simple_select_list_txn to return lists of tupl...Patrick Cloke2023-10-261-8/+10
| * Convert simple_select_many_batch, simple_select_many_txn to tuples. (#16444)Patrick Cloke2023-10-111-50/+57
* | Don't use separate copy_read method.Patrick Cloke2023-09-291-55/+21
* | Lint.Patrick Cloke2023-09-291-4/+10
* | TweaksPatrick Cloke2023-09-291-22/+43
* | tempPatrick Cloke2023-09-221-3/+9
|/
* Return an immutable value from get_latest_event_ids_in_room. (#16326)Patrick Cloke2023-09-181-3/+5
* Use StrCollection in additional places. (#16301)Patrick Cloke2023-09-131-2/+2
* Speed up state res in rare case we don't have all events (#16116)Erik Johnston2023-08-181-23/+161
* Inline SQL queries using boolean parameters (#15525)Anshul Madnawat2023-07-261-2/+1
* Fix downgrading to previous version of Synapse (#15907)Erik Johnston2023-07-101-1/+3
* Add foreign key constraint to `event_forward_extremities`. (#15751)Erik Johnston2023-07-051-0/+10
* Remove experimental MSC2716 implementation to incrementally import history in...Eric Eastwood2023-06-161-210/+1
* Process previously failed backfill events in the background (#15585)Eric Eastwood2023-05-241-1/+30
* More precise type for LoggingTransaction.execute (#15432)David Robertson2023-04-141-8/+11
* Add comma missing from #15382. (#15429)reivilibre2023-04-131-1/+1
* Don't keep old stream_ordering_to_exterm around (#15382)Erik Johnston2023-04-061-10/+42
* Fix spinloop during partial state sync when a prev event is in backoff (#15351)Sean Quah2023-03-301-14/+21
* Bump black from 22.12.0 to 23.1.0 (#15103)dependabot[bot]2023-02-221-1/+0
* Return read-only collections from `@cached` methods (#13755)Sean Quah2023-02-101-4/+7
* Remove option to skip locking of tables during emulated upserts (#14469)Sean Quah2022-11-281-1/+0
* Stop getting missing `prev_events` after we already know their signature is i...Eric Eastwood2022-10-151-0/+54
* Fix overflows in /messages backfill calculation (#13936)David Robertson2022-09-301-29/+53
* Limit and filter the number of backfill points to get from the database (#13879)Eric Eastwood2022-09-281-12/+78
* Only try to backfill event if we haven't tried before recently (#13635)Eric Eastwood2022-09-231-41/+147
* Keep track when we try and fail to process a pulled event (#13589)Eric Eastwood2022-09-141-0/+45
* Cancel the processing of key query requests when they time out. (#13680)reivilibre2022-09-071-0/+2
* Rename the `EventFormatVersions` enum values so that they line up with room v...reivilibre2022-09-071-1/+1
* Instrument the federation/backfill part of `/messages` (#13489)Eric Eastwood2022-08-161-0/+6
* Instrument `FederationStateIdsServlet` - `/state_ids` (#13499)Eric Eastwood2022-08-151-0/+3
* Stop reading from `event_edges.room_id`. (#12914)Richard van der Hoff2022-05-311-5/+2
* Fix ambiguous column name that would prevent use of MSC2716 History Import wh...reivilibre2022-05-261-1/+1
* Add some type hints to `event_federation` datastore (#12753)Dirk Klimpel2022-05-181-64/+123
* Optimise backfill calculation (#12522)Richard van der Hoff2022-04-261-16/+14
* Exclude outliers in `on_backfill_request` (#12314)Richard van der Hoff2022-03-281-3/+9
* Implement MSC3706: partial state in `/send_join` response (#11967)Richard van der Hoff2022-02-121-6/+6
* Fix historical messages backfilling in random order on remote homeservers (MS...Eric Eastwood2022-02-071-101/+212
* Merge tag 'v1.51.0rc2' into developAndrew Morgan2022-01-241-1/+4
|\
| * Fix logic for dropping old events in fed queue (#11806)Andrew Morgan2022-01-241-1/+4
* | Stop reading from `event_reference_hashes` (#11794)Richard van der Hoff2022-01-211-1/+1
|/
* Improve type hints in storage classes. (#11652)Dirk Klimpel2021-12-291-3/+3
* Remove redundant `COALESCE()`s around `COUNT()`s in database queries (#11570)Sean Quah2021-12-141-4/+2
* Type hint the constructors of the data store classes (#11555)Sean Quah2021-12-131-3/+17
* Disambiguate queries on `state_key` (#11497)Richard van der Hoff2021-12-021-2/+2
* Add type hints for most `HomeServer` parameters (#11095)Sean Quah2021-10-221-3/+6
* `_run_push_actions_and_persist_event`: handle no min_depth (#11014)Richard van der Hoff2021-10-181-1/+1
* Rename MSC2716 things from `chunk` to `batch` to match `/batch_send` endpoint...Eric Eastwood2021-09-211-15/+15
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-1/+1
* Add support for MSC2716 marker events (#10498)Eric Eastwood2021-08-041-16/+98
* Prune inbound federation queues if they get too long (#10390)Erik Johnston2021-08-021-2/+102
* Make historical events discoverable from backfill for servers without any scr...Eric Eastwood2021-07-281-9/+79
* Fix `oldest_pdu_in_federation_staging` (#10455)Erik Johnston2021-07-271-2/+5
* Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381)Jonathan de Jong2021-07-151-13/+13
* Fix federation inbound age metric. (#10355)Erik Johnston2021-07-131-1/+3
* Handle old staged inbound events (#10303)Erik Johnston2021-07-061-0/+9
* Add some metrics to staging area (#10284)Erik Johnston2021-07-011-0/+39
* Fix the inbound PDU metric (#10279)Erik Johnston2021-06-301-10/+56
* Handle inbound events from federation asynchronously (#10272)Erik Johnston2021-06-291-3/+106
* Add endpoints for backfilling history (MSC2716) (#9247)Eric Eastwood2021-06-221-5/+45
* Remove `synapse.types.Collection` (#9856)Richard van der Hoff2021-04-221-2/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Fix bad naming of storage function (#9637)Erik Johnston2021-03-171-1/+1
* Use the chain cover index in get_auth_chain_ids. (#9576)Patrick Cloke2021-03-101-3/+145
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-6/+9
* Fix some typos.Patrick Cloke2021-02-121-2/+2
* Use a chain cover index to efficiently calculate auth chain difference (#8868)Erik Johnston2021-01-111-0/+185
* Pass room_id to get_auth_chain_difference (#8879)Erik Johnston2020-12-041-1/+3
* Cache event ID to auth event IDs lookups (#8752)Erik Johnston2020-11-131-12/+70
* Move additional tasks to the background worker, part 3 (#8489)Patrick Cloke2020-10-091-29/+31
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
* Add experimental support for sharding event persister. Again. (#8294)Erik Johnston2020-09-141-1/+1
* Revert "Add experimental support for sharding event persister. (#8170)" (#8242)Brendan Abolivier2020-09-041-1/+1
* Add experimental support for sharding event persister. (#8170)Erik Johnston2020-09-021-1/+1
* Convert additional database code to async/await. (#8195)Patrick Cloke2020-08-281-34/+37
* Convert simple_update* and simple_select* to async (#8173)Patrick Cloke2020-08-271-2/+2
* Micro-optimisations to get_auth_chain_ids (#8132)Richard van der Hoff2020-08-211-23/+17
* Convert events worker database to async/await. (#8071)Patrick Cloke2020-08-181-16/+14
* Remove some unused database functions. (#8085)Patrick Cloke2020-08-141-13/+0
* Converts event_federation and registration databases to async/await (#8061)Patrick Cloke2020-08-111-25/+13
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-0/+726