Skip to content
Snippets Groups Projects
  1. Nov 16, 2020
  2. Nov 15, 2020
  3. Oct 30, 2020
  4. Oct 29, 2020
  5. Oct 27, 2020
  6. Oct 15, 2020
    • Jonathan de Jong's avatar
      Solidify the HomeServer constructor. (#8515) · 6b5a115c
      Jonathan de Jong authored
      This implements a more standard API for instantiating a homeserver and
      moves some of the dependency injection into the test suite.
      
      More concretely this stops using `setattr` on all `kwargs` passed to `HomeServer`.
      6b5a115c
  7. Oct 14, 2020
  8. Oct 13, 2020
  9. Oct 09, 2020
  10. Oct 02, 2020
  11. Sep 24, 2020
    • Erik Johnston's avatar
      Add EventStreamPosition type (#8388) · ac11fcbb
      Erik Johnston authored
      The idea is to remove some of the places we pass around `int`, where it can represent one of two things:
      
      1. the position of an event in the stream; or
      2. a token that partitions the stream, used as part of the stream tokens.
      
      The valid operations are then:
      
      1. did a position happen before or after a token;
      2. get all events that happened before or after a token; and
      3. get all events between two tokens.
      
      (Note that we don't want to allow other operations as we want to change the tokens to be vector clocks rather than simple ints)
      ac11fcbb
  12. Sep 18, 2020
  13. Sep 08, 2020
  14. Sep 02, 2020
  15. Aug 26, 2020
  16. Aug 05, 2020
  17. Jul 30, 2020
  18. Jul 27, 2020
  19. Jul 22, 2020
  20. Jul 16, 2020
  21. Jul 15, 2020
  22. Jul 13, 2020
  23. Jul 10, 2020
  24. Jul 01, 2020
  25. Jun 15, 2020
  26. Jun 12, 2020
  27. Jun 10, 2020
  28. Jun 05, 2020
  29. May 26, 2020
  30. May 18, 2020
  31. May 15, 2020
  32. May 13, 2020
  33. May 05, 2020
  34. May 01, 2020
    • Erik Johnston's avatar
      Thread through instance name to replication client. (#7369) · 0e719f23
      Erik Johnston authored
      For in memory streams when fetching updates on workers we need to query the source of the stream, which currently is hard coded to be master. This PR threads through the source instance we received via `POSITION` through to the update function in each stream, which can then be passed to the replication client for in memory streams.
      0e719f23
    • Erik Johnston's avatar
      Use `stream.current_token()` and remove `stream_positions()` (#7172) · 3085cde5
      Erik Johnston authored
      We move the processing of typing and federation replication traffic into their handlers so that `Stream.current_token()` points to a valid token. This allows us to remove `get_streams_to_replicate()` and `stream_positions()`.
      3085cde5
  35. Apr 29, 2020
    • Erik Johnston's avatar
      Add instance name to RDATA/POSITION commands (#7364) · 37f6823f
      Erik Johnston authored
      This is primarily for allowing us to send those commands from workers, but for now simply allows us to ignore echoed RDATA/POSITION commands that we sent (we get echoes of sent commands when using redis). Currently we log a WARNING on the master process every time we receive an echoed RDATA.
      37f6823f
Loading