Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Run _upgrade_existing_database on workers if at current schema_version #11346

Merged
merged 5 commits into from
Nov 15, 2021

Commits on Nov 15, 2021

  1. Run _upgrade_existing_database on workers if at current schema_version

    Workers need to run this method to figure out if any outstanding delta
    files exist - even if we're currently on the latest schema version.
    
    #11255 made the correct fix in that _upgrade_existing_database should
    not be run if version_info.schema_version > SCHEMA_VERSION. But we
    still need to run this method if version_info.schema_version ==
    SCHEMA_VERSION.
    anoadragon453 committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    258203e View commit details
    Browse the repository at this point in the history
  2. Changelog

    anoadragon453 committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    cc0df35 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5aa7589 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0f8a399 View commit details
    Browse the repository at this point in the history
  5. Update synapse/storage/prepare_database.py

    Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
    anoadragon453 and richvdh committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    3a9709c View commit details
    Browse the repository at this point in the history