Skip to content
Snippets Groups Projects
  1. Oct 22, 2020
  2. Oct 09, 2020
  3. Aug 27, 2020
  4. Aug 14, 2020
  5. Aug 12, 2020
  6. Jul 30, 2020
  7. Jul 17, 2020
  8. Jun 10, 2020
  9. Jun 01, 2020
    • Brendan Abolivier's avatar
      Process cross-signing keys when resyncing device lists (#7594) · 33c39ab9
      Brendan Abolivier authored
      It looks like `user_device_resync` was ignoring cross-signing keys from the results received from the remote server. This patch fixes this, by processing these keys using the same process `_handle_signing_key_updates` does (and effectively factor that part out of that function).
      33c39ab9
  10. May 22, 2020
    • Erik Johnston's avatar
      Add ability to wait for replication streams (#7542) · 1531b214
      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.
      1531b214
  11. May 21, 2020
    • Brendan Abolivier's avatar
      Retry to sync out of sync device lists (#7453) · d1ae1015
      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 
      d1ae1015
  12. May 01, 2020
  13. Feb 07, 2020
  14. Dec 11, 2019
  15. Dec 06, 2019
  16. Nov 01, 2019
  17. Oct 30, 2019
  18. Jul 03, 2019
  19. May 10, 2019
  20. Nov 19, 2018
  21. Nov 02, 2018
  22. Sep 27, 2018
  23. Aug 13, 2018
  24. Jul 21, 2018
  25. Jul 09, 2018
  26. Jun 27, 2018
Loading