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

The 'Plan name' drop-down inside the 'Clone plan' page is slow to open

    XMLWordPrintable

Details

    Description

      Issue Summary

      The Plan name drop-down button inside the 'Create > Clone plan' page takes time to open (approx. 60s).

      Steps to Reproduce

      • Bamboo 7.2.3 (4gb xms/ xmx)
      • PostgreSQL 9.6
      • Repositories
        • # of linked repositories: 13.588
        • # of plan repositories: 16.885
      • Plans
        • # of plans (CHAIN and CHAIN_BRANCH): 16.885
        • # of jobs - this is the number that shows up inside the application.xml for <number-of-plans>: 33.770
      1. Access Bamboo from a web browser (e.g. Google Chrome).
      2. Click the 'Create > Clone plan' button at the top of the page.
      3. Click the Plan name drop-down button to search for a plan.

      Expected Results

      The Plan name drop-down loads in a couple of seconds at max and we can start searching for a plan to clone.

      Actual Results

      The Plan name drop-down takes at least 60 seconds to finish loading. This is related to the fact that we try to display a list of all plans a certain user has access to in the drop-down. The more plans you have access to the more time it takes to load the drop-down. Attempting to search for a plan after the drop-down is open also results in a long waiting times.

      Note 1

      This is worse for admin users because they have access to all plans inside Bamboo i.e. we always try to load and display a list of all the plans inside the Bamboo instance in that drop-down for admin users.

      Note 2

      The following warning message might show up (more than once) when trying to load the drop-down using Google Chrome:

      Click the Wait button and continue to wait until the drop-down finishes loading.

      Workaround

      1. Use Bamboo Specs or the Bamboo REST API (7.2.3) to clone a plan.
      2. Try using different web browsers. It won't solve the problem but may present different loading times. For example, it took 8s to load the drop-down using Firefox (90.0 64-bit) vs 60s to load the drop-down using Google Chrome (91.0.4472.114) testing on a local Bamboo instance with the data mentioned under Steps to Reproduce.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brosa Bruno Rosa
              Votes:
              8 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: