Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-21397

Remove previous upgrades to allow schema change

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.2
    • 2.5.2
    • ambari-server
    • None

    Description

      AMBARI-21358 introduced schema change to allow tracking upgrade between repository versions instead of free text "version" descriptors. Ambari Server upgrade currently fails because of this schema change if there are any previous upgrades. It's not worth trying to fix the data, and the repositories required for the foreign keys may not even be there anymore. So we should remove upgrade, all child data (upgrade_group, upgrade_item, servicecomponent_history), and the reference from clusters.

      Attachments

        1. AMBARI-21397.patch
          2 kB
          Attila Doroszlai

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: