- Feb 20, 2018
-
-
Erik Johnston authored
-
- Feb 15, 2018
-
-
Erik Johnston authored
-
- Feb 06, 2018
-
-
Erik Johnston authored
* Split state group persist into seperate storage func * Add per database engine code for state group id gen * Move store_state_group to StateReadStore This allows other workers to use it, and so resolve state. * Hook up store_state_group * Fix tests * Rename _store_mult_state_groups_txn * Rename StateGroupReadStore * Remove redundant _have_persisted_state_group_txn * Update comments * Comment compute_event_context * Set start val for state_group_id_seq ... otherwise we try to recreate old state groups * Update comments * Don't store state for outliers * Update comment * Update docstring as state groups are ints
-
- Jan 22, 2018
-
-
Richard van der Hoff authored
Extracted from https://github.com/matrix-org/synapse/pull/2820
-
- Apr 11, 2017
-
-
Erik Johnston authored
-
- Apr 03, 2017
-
-
Erik Johnston authored
As the TCP replication uses a slightly different API and streams than the HTTP replication. This breaks HTTP replication.
-
- Mar 20, 2017
-
-
Erik Johnston authored
-
- Jan 31, 2017
-
-
Erik Johnston authored
This is because it now relies of the caches stream, which only works on postgres. We are trying to test with sqlite.
-
- Jan 20, 2017
-
-
Erik Johnston authored
-
Erik Johnston authored
-
- Nov 23, 2016
-
-
Erik Johnston authored
-
- Sep 23, 2016
-
-
Erik Johnston authored
Some streams will occaisonally advance their positions without actually having any new rows to send over federation. Currently this means that the token will not advance on the workers, leading to them repeatedly sending a slightly out of date token. This in turns requires the master to hit the DB to check if there are any new rows, rather than hitting the no op logic where we check if the given token matches the current token. This commit changes the API to always return an entry if the position for a stream has changed, allowing workers to advance their tokens correctly.
-
- Aug 31, 2016
-
-
Erik Johnston authored
-
- Aug 25, 2016
-
-
Erik Johnston authored
-
- Jul 26, 2016
-
-
Richard van der Hoff authored
Wrap the `Requester` constructor with a function which provides sensible defaults, and use it throughout
-
- Jun 24, 2016
-
-
David Baker authored
as get_room_name_and_alias is now gone
-
- May 17, 2016
-
-
Mark Haines authored
-
- May 16, 2016
-
-
Mark Haines authored
-
- May 13, 2016
-
-
Mark Haines authored
-
- Apr 21, 2016
-
-
Mark Haines authored
-
- Apr 19, 2016
-
-
Mark Haines authored
-
Mark Haines authored
-
- Apr 07, 2016
-
-
Mark Haines authored
-
Mark Haines authored
Rather than adding them globally. This limits the changes to only affect the tests.
-
Mark Haines authored
-
- Apr 06, 2016
-
-
Mark Haines authored
-
Mark Haines authored
Add a test to check that get_room_names_and_aliases does the same thing on both the master and on the slave data store.
-
- Mar 30, 2016
-
-
Mark Haines authored
-
- Mar 15, 2016
-
-
Mark Haines authored
-
- Mar 03, 2016
-
-
Daniel Wagner-Hall authored
This will enable more detailed decisions
-
- Mar 02, 2016
-
-
Mark Haines authored
-
- Mar 01, 2016
-
-
Mark Haines authored
synapse This is necessary for replicating the data in synapse to be visible to a separate service because presence and typing notifications aren't stored in a database so won't be visible to another process. This API can be used to either get the raw data by requesting the tables themselves or to just receive notifications for updates by following the streams meta-stream. Returns updates for each table requested a JSON array of arrays with a row for each row in the table. Each table is prefixed by a header row with the: name of the table, current stream_id position for the table, number of rows, number of columns and the names of the columns. This is followed by the rows that have been added to the server since the requester last asked. The API has a timeout and is hooked up to the notifier so that a slave can long poll for updates.
-