Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-3660

DB-Migrator job completes even during failed upgrade

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • Istanbul Release
    • Istanbul Release
    • docker
    • Policy 20/9-04/10

    Description

      During upgrade, if "from" and "to" versions are specified and a failure occurs, then the db-migrator job is completed even when it actually fails.

      For e.g., if using -f 0800 -t 0900,  first time the job fails as it try to execute the upgrade scripts. But 2nd time, it goes to completed state with below message:

      "Already on 0900, cannot upgrade from 0800"

      PAP/API etc comes up after this even though the DB is messed up.

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            ktimoney Kevin Timoney
            a.sreekumar Ajith Sreekumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: