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

Remove previous upgrades to allow schema change

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment