mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 12:14:56 -04:00
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
This commit is contained in:
parent
42d261c32f
commit
fff9b955fa
4 changed files with 140 additions and 46 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue