- Jan 21, 2020
-
-
Brendan Abolivier authored
* Raise an exception if there are pending background updates So we return with a non-0 code * Changelog * Port synapse_port_db to async/await * Port update_database to async/await * Add version string to mocked homeservers * Remove unused imports * Convert overseen bits to async/await * Fixup logging contexts * Fix imports * Add a way to print an error without raising an exception * Incorporate review
-
- Jan 15, 2020
-
-
Erik Johnston authored
Currently we rely on `current_state_events` to figure out what rooms a user was in and their last membership event in there. However, if the server leaves the room then the table may be cleaned up and that information is lost. So lets add a table that separately holds that information.
-
- Jan 09, 2020
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
We might not need the cursor at all.
-
- Jan 07, 2020
-
-
Richard van der Hoff authored
* Add a background update to clear tombstoned rooms from the directory * use the ABC metaclass
-
- Dec 20, 2019
-
-
Erik Johnston authored
-
- Dec 18, 2019
-
-
Erik Johnston authored
This encapsulates config for a given database and is the way to get new connections.
-
- Dec 06, 2019
-
-
Erik Johnston authored
-
- Dec 05, 2019
-
-
Erik Johnston authored
-
Erik Johnston authored
-
- Dec 04, 2019
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Erik Johnston authored
-
- Dec 02, 2019
-
-
Andrew Morgan authored
-
- Oct 31, 2019
-
-
Andrew Morgan authored
Replace every instance of `logger.warn` with `logger.warning` as the former is deprecated.
-
- Oct 24, 2019
-
-
Brendan Abolivier authored
- Oct 23, 2019
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
Make `synapse_port_db` correctly create indexes in the PostgreSQL database, by having it run the background updates on the database before migrating the data. To ensure we're migrating the right data, also block the port if the SQLite3 database still has pending or ongoing background updates. Fixes #4877
-
- Oct 18, 2019
-
-
Bart Noordervliet authored
Small fix to synapse_port_db to be able to convert from database schema v56.
-
- Jun 03, 2019
-
-
Brendan Abolivier authored
Fixes #5306
-
- Apr 08, 2019
-
-
Neil Johnson authored
Tables dropped: * application_services, * application_services_regex, * transaction_id_to_pdu, * stats_reporting * current_state_resets * event_content_hashes * event_destinations * event_edge_hashes * event_signatures * feedback * room_hosts * state_forward_extremities
-
- Apr 03, 2019
-
-
Anders authored
Make synapse_port_db --curses work with Python 3. Signed-off-by:
Anders Jensen-Waud <anders@jensenwaud.com>
-
- Feb 20, 2019
-
-
Eric authored
This column was considered as an int, crashing the whole migration process Signed-off-by:
Eric <eric@pedr0.net>
-
- Oct 24, 2018
-
-
Richard van der Hoff authored
Broadly three things here: * disable W504 which seems a bit whacko * remove a bunch of `as e` expressions from exception handlers that don't use them * use `r""` for strings which include backslashes Also, we don't use pep8 any more, so we can get rid of the duplicate config there.
-
- Oct 20, 2018
-
-
Amber Brown authored
-
- Apr 06, 2018
-
-
Adrian Tschira authored
Signed-off-by:
Adrian Tschira <nota@notafile.com>
-
Richard van der Hoff authored
Improve logging and comments. Group all the stuff to do with inspecting tables together rather than creating the port tables in the middle.
-
Richard van der Hoff authored
We really shouldn't spit out "Failed to create port table", it looks scary.
-
- Nov 14, 2017
-
-
Erik Johnston authored
-
Erik Johnston authored
-
- Oct 31, 2017
-
-
David Baker authored
Postgres doesn't support NULs in strings so it makes the script throw an exception and stop if any values contain \0. Drop them with appropriate warning.
-
- Oct 26, 2017
-
-
Luke Barnard authored
-
Erik Johnston authored
We changed _simple_update_one_txn to use _simple_update_txn but didn't yank it out in the port script. Fixes #2565
-
- Oct 01, 2017
-
-
Richard van der Hoff authored
https://github.com/matrix-org/synapse/issues/2187 contains a report of a port failing due to nul characters somewhere in the search table. Let's try dropping the offending rows.
-
- Jul 20, 2017
-
-
Erik Johnston authored
-
Erik Johnston authored
-
- Jun 16, 2017