Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W Waarp Gateway
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Applications
  • Waarp Gateway
  • Waarp Gateway
  • Issues
  • #282
Closed
Open
Issue created Oct 22, 2021 by Paolo Pantellini@paolo.pantelliniMaintainer

The migration engine does not execute the last script when migrating

When migrating the database to a given version, the migration engine will not execute the last script. Most of the time, this is the version bump script. This means that the engine will report the migration as successful, but the reported database version will be incorrect, preventing the gateway from starting because of a version mismatch between the binary and the database. Furthermore, since the version reported by the database is incorrect, undoing the migration will not work either, meaning the database will be left in an unusable state with no way to fix it without a (thankfully simple) manual intervention on the database itself.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking