MatrixSynapse/scripts
Erik Johnston 1b15a3d92c
Fix port script so that it can be run again after failure. (#8755)
If the script fails (or is CTRL-C'ed) between porting some of the events table and copying of the sequences then the port script will immediately die if run again due to the postgres DB having inconsistencies between sequences and tables.

The fix is to move the porting of sequences to before porting the tables, so that there is never a period where the Postgres DB is inconsistent. To do that we need to change how we port the sequences so that it calculates the values from the SQLite DB rather than the Postgres DB.

Fixes #8619
2020-11-13 11:53:51 +00:00
..
export_signing_key Add an export_signing_key script (#6546) 2019-12-19 11:11:14 +00:00
generate_config Update the TLS cipher string and provide configurability for TLS on outgoing federation (#5550) 2019-06-28 18:19:09 +10:00
generate_log_config Automate generation of the sample and debian log configs (#6627) 2020-01-03 17:14:00 +00:00
generate_signing_key.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
hash_password Avoid attribute error when `password_config` present but empty (#6753) 2020-01-22 07:32:52 +00:00
move_remote_media_to_new_store.py Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
register_new_matrix_user Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
synapse_port_db Fix port script so that it can be run again after failure. (#8755) 2020-11-13 11:53:51 +00:00
sync_room_to_group.pl sanity checks 2017-11-21 12:10:20 +00:00