- May 28, 2020
-
-
Brendan Abolivier authored
- May 27, 2020
-
-
Brendan Abolivier authored
-
Jason Robinson authored
'client_auth_method' commented out value was erronously 'client_auth_basic', when code and docstring says it should be 'client_secret_basic'. Signed-off-by:
Jason Robinson <jasonr@matrix.org>
-
Erik Johnston authored
-
Erik Johnston authored
This mostly applise to `*stateGroupCache*` and co. Broke in #6391.
-
Erik Johnston authored
This is already correctly done when we instansiate the cache, but wasn't when it got reloaded (which always happens at least once on startup).
-
Erik Johnston authored
Fixes #7566.
- May 26, 2020
-
-
Brendan Abolivier authored
Since this is not a full release yet
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Erik Johnston authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Richard van der Hoff authored
The bg update never managed to complete, because it kept being interrupted by transactions which want to take a lock. Just doing it in the foreground isn't that bad, and is a good deal simpler.
-
Richard van der Hoff authored
Introduced in #7556
-
Richard van der Hoff authored
A couple of changes of significance: * remove the `_last_ack < federation_position` condition, so that updates will still be correctly processed after restart * Correctly wire up send_federation_ack to the right class.
-
- May 23, 2020
-
-
Richard van der Hoff authored
we can use `make_in_list_sql_clause` rather than doing our own half-baked equivalent, which has the benefit of working just fine with empty lists. (This has quite a lot of tests, so I think it's pretty safe)
-
- May 22, 2020
-
-
Richard van der Hoff authored
These are surprisingly expensive, and we only really need to do them at startup.
-
Erik Johnston authored
Broke in #7534.
-
Erik Johnston authored
-
Patrick Cloke authored
-
Erik Johnston authored
The idea here is that if an instance persists an event via the replication HTTP API it can return before we receive that event over replication, which can lead to races where code assumes that persisting an event immediately updates various caches (e.g. current state of the room). Most of Synapse doesn't hit such races, so we don't do the waiting automagically, instead we do so where necessary to avoid unnecessary delays. We may decide to change our minds here if it turns out there are a lot of subtle races going on. People probably want to look at this commit by commit.
-
Erik Johnston authored
Mainly because sometimes the email push code raises exceptions where the stack traces have gotten lost, which is hopefully fixed by this.
-
Patrick Cloke authored
-
Erik Johnston authored
Instead of doing a complicated dance of deleting and moving aliases one by one, which sends a canonical alias update into the old room for each one, lets do it all in one go. This also changes the function to move *all* local alias events to the new room, however that happens later on anyway.
-
Erik Johnston authored
These are business as usual errors, rather than stuff we want to log at error.
-
Ivan Shapovalov authored
PyPy's gc.get_stats() returns an object containing detailed allocator statistics which could be beneficial to collect as metrics. Signed-off-by:
Ivan Shapovalov <intelfx@intelfx.name>
-
Richard van der Hoff authored
When we tried to build debs for 1.13.0, the build failed because docker used a base docker image which had a stale apt cache. Fixes: #7540
-
Richard van der Hoff authored
`Failure()` is more cunning than `Failure(e)`.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
consistency ftw
-
- May 21, 2020
-
-
Brendan Abolivier authored
When a call to `user_device_resync` fails, we don't currently mark the remote user's device list as out of sync, nor do we retry to sync it. https://github.com/matrix-org/synapse/pull/6776 introduced some code infrastructure to mark device lists as stale/out of sync. This commit uses that code infrastructure to mark device lists as out of sync if processing an incoming device list update makes the device handler realise that the device list is out of sync, but we can't resync right now. It also adds a looping call to retry all failed resync every 30s. This shouldn't cause too much spam in the logs as this commit also removes the "Failed to handle device list update for..." warning logs when catching `NotRetryingDestination`. Fixes #7418
-
Richard van der Hoff authored
We don't really make any promises about returning accurate presence data when presence is disabled, so we may as well just return a static response, rather than making the master handle a request.
-
David Vo authored
-
Richard van der Hoff authored
-
Erik Johnston authored
`_is_server_still_joined` will throw if it is given state updates with non-user ID state keys with local user leaves. This is actually rarely a problem since local leaves almost always get persisted by themselves. (I discovered this on a branch that was otherwise broken, so I haven't seen this in the wild)
-
- May 20, 2020
-
-
Richard van der Hoff authored
-