Crate syn2mas

Source

Modules§

synapse_config

Structs§

LockedMasDatabase
A wrapper around a Postgres connection which holds a session-wide advisory lock preventing concurrent access by other syn2mas instances.
MasWriter
Progress
Tracker for the progress of the migration
ProgressCounter
SynapseReader

Enums§

ProgressStage

Functions§

mas_pre_migration_checks
Check that a MAS database is ready for being migrated to.
migrate
Performs a migration from Synapse’s database to MAS’ database.
synapse_config_check
Check that the Synapse configuration is sane for migration.
synapse_config_check_against_mas_config
Check that the given Synapse configuration is sane for migration to a MAS with the given MAS configuration.
synapse_database_check
Check that the Synapse database is sane for migration. Returns a list of warnings and errors.