mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-15 17:51:10 +00:00
parent
86a497efaa
commit
0c82d4aabe
2 changed files with 2 additions and 1 deletions
1
changelog.d/11276.bugfix
Normal file
1
changelog.d/11276.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix rolling back Synapse version when using workers.
|
|
@ -142,7 +142,7 @@ def prepare_database(
|
||||||
databases=databases,
|
databases=databases,
|
||||||
)
|
)
|
||||||
elif version_info.current_version < SCHEMA_VERSION:
|
elif version_info.current_version < SCHEMA_VERSION:
|
||||||
# If the DB is on an older version than we expect the we refuse
|
# If the DB is on an older version than we expect then we refuse
|
||||||
# to start the worker (as the main process needs to run first to
|
# to start the worker (as the main process needs to run first to
|
||||||
# update the schema).
|
# update the schema).
|
||||||
raise UpgradeDatabaseException(
|
raise UpgradeDatabaseException(
|
||||||
|
|
Loading…
Reference in a new issue