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

Ambari Schema Version should ignore patch number from version number

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2
    • ambari-server
    • None

    Description

      1. On ambari-server upgrade to a patch release version (2.0.2 -> 2.2.1.2), ambari server fails to start.
      2. This is because the schema version set in the DB on ambari-server upgrade is 2.2.1 whereas ambari-server version is 2.2.1.2.
      3. This incosistency leads to DB check failure. DB check should ignore patch release number from the ambari version.
      4. Further a clean install on 2.2.1.2 will set the DB schema version to 2.2.1.2 whereas an upgrade to 2.2.1.2 will set the DB schema version to 2.2.1
      5. We should fix this inconsistency by always setting DB schema version to 3-digit and ignoring the patch release version during DB check.
      6. We will not be supporting DB schema changes in patch releases.

      Attachments

        Issue Links

        Activity

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

          People

            jluniya Jayush Luniya
            jluniya Jayush Luniya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment