diff options
author | David Robertson <davidr@element.io> | 2022-09-20 14:14:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-20 14:14:12 +0100 |
commit | fff9b955fa39bda2cca1fa726b561c7886e746a1 (patch) | |
tree | d1a7280937d3254d0d6d907b033b13579a9428a9 /synapse/storage/background_updates.py | |
parent | Port the push rule classes to Rust. (#13768) (diff) | |
download | synapse-fff9b955fa39bda2cca1fa726b561c7886e746a1.tar.xz |
Generate separate snapshots for logical databases (#13792)
* Generate separate snapshots for sqlite, postgres and common * Cleanup postgres dbs in the TRAP * Say which logical DB we're applying updates to * Run background updates on the state DB * Add new option for accepting a SCHEMA_NUMBER
Diffstat (limited to 'synapse/storage/background_updates.py')
-rw-r--r-- | synapse/storage/background_updates.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py index bf5e7ee7be..2056ecb2c3 100644 --- a/synapse/storage/background_updates.py +++ b/synapse/storage/background_updates.py @@ -285,7 +285,10 @@ class BackgroundUpdater: back_to_back_failures = 0 try: - logger.info("Starting background schema updates") + logger.info( + "Starting background schema updates for database %s", + self._database_name, + ) while self.enabled: try: result = await self.do_next_background_update(sleep) |