- Sep 12, 2022
-
-
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>
-
Sean Quah authored
Handle malformed user IDs with no colons in `get_current_hosts_in_room`. It's not currently possible for a malformed user ID to join a room, so this error would never be hit. Signed-off-by:
Sean Quah <seanq@matrix.org>
-
Sean Quah authored
Previously, `is_mine_id` would raise an exception when passed an ID with no colons. Return `False` instead. Fixes #13040. Signed-off-by:
Sean Quah <seanq@matrix.org>
-
reivilibre authored
-
reivilibre authored
-
Erik Johnston authored
-
reivilibre authored
-
- Sep 07, 2022
-
-
Eric Eastwood authored
When backfilling, `_get_state_ids_after_missing_prev_event` calls [`get_metadata_for_events`](https://github.com/matrix-org/synapse/blob/26bc26586b4b95d63ce7e453e9312469843f796e/synapse/handlers/federation_event.py#L1133). For `#matrix:matrix.org`, it's called with 77k `state_events` which means 77 calls to the database and takes 28 seconds.
-
Erik Johnston authored
-
Erik Johnston authored
-
David Robertson authored
-
David Robertson authored
-
David Robertson authored
-
reivilibre authored
-
reivilibre authored
Rename the `EventFormatVersions` enum values so that they line up with room version numbers. (#13706)
-
Connor Davis authored
This adds two new admin APIs that allow us to fetch messages from a room within a particular time.
-
- Sep 06, 2022
-
-
reivilibre authored
This is a re-do of 57d334a1 (#13365), which was backed out in 12abd724 (#13501). The `room_id` field represented the parent space for each room and was made redundant by changes in the API shape where the `children_state` is now nested underneath each `room`. The room ID of each child is in the `state_key` field and is still available.
-
Erik Johnston authored
-
Erik Johnston authored
-
David Robertson authored
-
Erik Johnston authored
-
reivilibre authored
-
Patrick Cloke authored
Removes the ability to configure legacy direct TCP replication. Workers now require Redis to run.
-
- Sep 05, 2022
-
-
Erik Johnston authored
* Reduce number of CI jobs run on PRs * Newsfile * Also limit sytest jobs * Fix typo * Fix up * Fixup
-
reivilibre authored
Extend the release script to wait for GitHub Actions to finish and to be usable as a guide for the whole process. (#13483)
-
David Robertson authored
-
Brendan Abolivier authored
-