Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-10560

Prevent Bamboo from running if database and home directory come from different build numbers.

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Problem Definition

      Database version or log of upgrade tasks are not currently recorded within the Bamboo database and there is nothing to prevent Bamboo from starting / re-running / skipping upgrade tasks on an already upgraded (or not upgraded) database. This is sometimes very obvious or goes completely undetected until integrity issues present further down the track.

      Problems typically present in upgrade and rollback situations where mismatches occur between the version stored on the filesystem vs the state / version of the current database.

      Suggested Solution

      • Bamboo version stored within the database that reflects the current database state aka 'Database schema version'
      • Audit log within database of upgrade tasks that have been run, with timestamp and status (e.g. success or failure). Ideally these log entries would be easily grouped with an identifier per upgrade attempt and show the detected version and the target version aka 'Database changelog table'
      • Proactive validation that would prevent Bamboo from starting if a mismatch is detected. This should be clearly displayed in the UI (as opposed to a generic fatal bootstrap error) with an explanation of the error. The concept of filesystem version vs database version and it's importance in our upgrade procedure isn't common knowledge to a lot of Bamboo Administrators.

      Attachments

        Issue Links

          Activity

            People

              kbrazulewicz Krystian Brazulewicz
              pbruski Przemek Bruski
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: