Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13663

Creating a repository on Mesh always assigns the same partition ID

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 8.5.3, 8.6.3, 8.7.2, 8.8.1
    • 8.5.0, 8.6.0, 8.7.0, 8.8.0
    • Mesh
    • None

    Description

      Issue Summary

      This is reproducible on Data Center: yes

      When starting out with an empty Bitbucket Mesh cluster and a repository is created, it is always assigned the same partition ID.

      If you already created a number of repositories (more than ~30) on an unaffected version, you are not affected by this bug.

      Steps to Reproduce

      1. Start out with an empty Bitbucket Mesh cluster
      2. Create a repository on Mesh

      Expected Results

      The repository is assigned a random partition ID.

      Actual Results

      Newly created repositories are assigned a random, populated partition. No empty partitions are considered. This means that starting from an empty Mesh cluster, all repositories are assigned the same partition ID.

      This will lock all created repositories to a specific set of Mesh nodes. Adding additional Mesh nodes does not spread the load.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wkritzinger Wolfgang Kritzinger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: