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

Bamboo instances upgraded from old versions still using MySQLDialect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.8
    • None
    • Database (MySQL)

    Description

      Current versions of Bamboo are using this dialect:

      <property name="hibernate.dialect">com.atlassian.hibernate.dialect.MySQL5Dialect</property>
      

      Older versions used to use MySQLDialect (without the 5), and this property is not updated by any of the Bamboo upgrade tasks. This causes columns that should be created with varchar(4000) to instead be created as text. It can lead to errors in the logs while adding indices:
      Unsuccessful: create index Error in Logs Using MySQL

      We should have an upgrade task update the dialect automatically and notify that the change requires a restart.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alaskowski Adam Laskowski (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: