Skip to content
Snippets Groups Projects
  1. Aug 20, 2020
  2. Aug 17, 2020
  3. Aug 12, 2020
  4. Aug 11, 2020
  5. Aug 07, 2020
  6. Aug 06, 2020
  7. Aug 05, 2020
  8. Aug 03, 2020
    • Andrew Morgan's avatar
      Prevent join->join membership transitions changing member count (#7977) · 5d92a142
      Andrew Morgan authored
      `StatsHandler` handles updates to the `current_state_delta_stream`, and updates room stats such as the amount of state events, joined users, etc.
      
      However, it counts every new join membership as a new user entering a room (and that user being in another room), whereas it's possible for a user's membership status to go from join -> join, for instance when they change their per-room profile information.
      
      This PR adds a check for join->join membership transitions, and bails out early, as none of the further checks are necessary at that point.
      
      Due to this bug, membership stats in many rooms have ended up being wildly larger than their true values. I am not sure if we also want to include a migration step which recalculates these statistics (possibly using the `_populate_stats_process_rooms` bg update).
      
      Bug introduced in the initial implementation https://github.com/matrix-org/synapse/pull/4338.
      Unverified
      5d92a142
  9. Jul 30, 2020
  10. Jul 17, 2020
  11. Jul 15, 2020
  12. Jul 06, 2020
  13. Jul 05, 2020
    • Will Hunt's avatar
      isort 5 compatibility (#7786) · 62b1ce85
      Will Hunt authored
      The CI appears to use the latest version of isort, which is a problem when isort gets a major version bump. Rather than try to pin the version, I've done the necessary to make isort5 happy with synapse.
      Unverified
      62b1ce85
  14. Jun 30, 2020
  15. Jun 17, 2020
  16. Jun 15, 2020
  17. Jun 10, 2020
  18. Jun 05, 2020
  19. Jun 04, 2020
  20. 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.
      Unverified
      1531b214
  21. May 15, 2020
  22. May 14, 2020
  23. May 08, 2020
  24. May 06, 2020
  25. May 01, 2020
  26. Apr 15, 2020
  27. Apr 01, 2020
  28. Mar 27, 2020
  29. Mar 24, 2020
  30. Mar 17, 2020
  31. Mar 09, 2020
Loading