- Sep 16, 2022
-
-
reivilibre authored
Update request log format documentation to mention the format used when the authenticated user is controlling another user. (#13794)
-
Sean Quah authored
Signed-off-by:
Sean Quah <seanq@matrix.org>
-
- Sep 15, 2022
-
-
Eric Eastwood authored
`matrix_synapse.egg-info/` Mentioned at https://matrix.to/#/!vcyiEtMVHIhWXcJAfl:sw1v.org/$aKy_IjrKwb70aTVZWeW_6zt0k7OIZ1YkyZpkP9uiRaM?via=matrix.org&via=element.io&via=beeper.com and many other places.
-
Eric Eastwood authored
Be able to correlate timeouts in reverse-proxy layer in front of Synapse (pull request ID from header) (#13801) Fix https://github.com/matrix-org/synapse/issues/13685 New config: ```diff listeners: - port: 8008 tls: false type: http x_forwarded: true + request_id_header: "cf-ray" bind_addresses: ['::1', '127.0.0.1', '0.0.0.0'] ```
-
Patrick Cloke authored
This is useful to upsert against a table which has a unique partial index while avoiding conflicts.
-
David Robertson authored
-
Andrew Morgan authored
-
- Sep 14, 2022
-
-
Eric Eastwood authored
We can follow-up this PR with: 1. Only try to backfill from an event if we haven't tried recently -> https://github.com/matrix-org/synapse/issues/13622 1. When we decide to backfill that event again, process it in the background so it doesn't block and make `/messages` slow when we know it will probably fail again -> https://github.com/matrix-org/synapse/issues/13623 1. Generally track failures everywhere we try and fail to pull an event over federation -> https://github.com/matrix-org/synapse/issues/13700 Fix https://github.com/matrix-org/synapse/issues/13621 Part of https://github.com/matrix-org/synapse/issues/13356 Mentioned in [internal doc](https://docs.google.com/document/d/1lvUoVfYUiy6UaHB6Rb4HicjaJAU40-APue9Q4vzuW3c/edit#bookmark=id.qv7cj51sv9i5)
-
Patrick Cloke authored
Adds a `thread_id` column to the `event_push_actions`, `event_push_actions_staging`, and `event_push_summary` tables. This will notifications to be segmented by the thread in a future pull request. The `thread_id` column stores the root event ID or the special value `"main"`. The `thread_id` column for `event_push_actions` and `event_push_summary` is backfilled with `"main"` for all existing rows. New entries into `event_push_actions` and `event_push_actions_staging` will get the proper thread ID. `receipts_linearized` and `receipts_graph` also gain a `thread_id` column, which is similar, except `NULL` is a special value meaning the receipt is "unthreaded". See MSC3771 and MSC3773 for where this data will be useful.
-
Patrick Cloke authored
Partial indices have been supported since SQLite 3.8, but Synapse now requires >= 3.27, so we can enable support for them. This requires rebuilding previous indices which were partial on PostgreSQL, but not on SQLite.
-
reivilibre authored
-
reivilibre authored
-
Quentin Gliech authored
Clean-up from b19060a2 (#13094) and 73af10f4 (#13093) which removed all callers.
-
David Robertson authored
* Remove incorrect migration file from `state` logical DB The table `ex_outlier_stream` is part of the `main` logical DB; it should not have been created in the `state` logical DB. We remove this migration now as a tidy-up. Note: we cannot `DROP TABLE IF EXISTS ex_outlier_stream` in a new migration, because some (most) instances of Synapse host both of these logical DBs on the same DB cluster. * Changelog
-
Sean Quah authored
When a remote user leaves the last room shared with the homeserver, we have to mark their device list as unsubscribed, otherwise we would hold on to a stale device list in our cache. Crucially, the device list would remain cached even after the remote user rejoined the room, which could lead to E2EE failures until the next change to the remote user's device list. Fixes #13651. Signed-off-by:
Sean Quah <seanq@matrix.org>
-
reivilibre authored
Fix a long-standing spec compliance bug where Synapse would accept a trailing slash on the end of `/get_missing_events` federation requests. (#13789) * Don't accept a trailing slash on the end of /get_missing_events * Newsfile Signed-off-by:
Olivier Wilkinson (reivilibre) <oliverw@matrix.org> Signed-off-by:
Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
-
- Sep 13, 2022
-
-
Mathieu Velten authored
Signed-off-by:
Mathieu Velten <mathieuv@matrix.org> Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
Erik Johnston authored
-
David Robertson authored
-
David Robertson authored
* Simplify CI tests DAG * Changelog
-
Richard van der Hoff authored
-
Erik Johnston authored
-
Nick Mills-Barrett authored
-
- Sep 12, 2022
-
-
Mathieu Velten authored
Signed-off-by:
Mathieu Velten <mathieuv@matrix.org>
-
Brendan Abolivier authored
-
Erik Johnston authored
Mark cargo-test as skippable since it only runs on Rust code change.
-
Nick Mills-Barrett authored
* Remove checks for membership column in current_state_events * Add schema script to force through the `current_state_events_membership` background job Contributed by Nick @ Beeper (@fizzadar).
-
Erik Johnston authored
This protects against the common mistake of failing to remember to rebuild Rust code after making changes.
-
- Sep 09, 2022
-
-
Nick Mills-Barrett authored
Most of the time this function is heavily cached, but when that isn't the case fetching the counts room by room slows down push delivery on users with many (thousands) of rooms. Signed off by Nick @ Beeper.
-
Eric Eastwood authored
We tag the Synapse instance name so that it's an easy jumping off point into the logs. Can also be used to filter for an instance that is under load. As suggested by @clokep and @reivilibre in, - https://github.com/matrix-org/synapse/pull/13729#discussion_r964719258 - https://github.com/matrix-org/synapse/pull/13729#discussion_r964733578
-
Eric Eastwood authored
The problem with many services is that it makes it hard to find which service has the trace you want, see https://github.com/jaegertracing/jaeger-ui/issues/985 Previously, we split traces out into services based on their instance name like `matrix.org client_reader-1`, etc but there are many worker instances of the same `client_reader` so there is a lot to click through. With this PR, all of the traces are just collected under the worker type like `client_reader`, `event_persister`
😇 Note: A Synapse worker instance name is an opaque string with the number convention only being our own thing for the `matrix.org` deployment. But seems pretty sensible to group things this way. -
Patrick Cloke authored
Instead of a delete, then insert. This was previously done for `receipts_linearized` in 2dc430d3 (#7607).
-
Erik Johnston authored
-
David Robertson authored
-
- Sep 08, 2022
-
-
Sean Quah authored
Signed-off-by:
Sean Quah <seanq@matrix.org>
-
reivilibre authored
Remove unused Prometheus recording rules from `synapse-v2.rules` and add comments describing where the rest are used. (#13756)
-
Dirk Klimpel authored
Co-authored-by:
reivilibre <olivier@librepush.net>
-
Sean Quah authored
Update the docstrings for `get_users_in_room` and `get_current_hosts_in_room` to explain the impact of partial state. Signed-off-by:
Sean Quah <seanq@matrix.org>
-