Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5060

Migration to 4.1 can fail if there are duplicates in groups_users table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.2
    • Component/s: Database
    • Labels:
      None

      Description

      For unknown reasons, there might be duplicate entries in the groups_users table, which makes an upgrade to 4.1 impossible because an index is created on this table to guarantee unicity.

      Failing migration script is #460.

      For reference, we had a similar issue on groups_roles that we correctly fixed in #482 in SonarQube 4.2.

        Attachments

          Activity

            People

            Assignee:
            jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
            Reporter:
            fabemn OLD - Fabrice Bellingard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: