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

The 'Plan to clone from' drop-down inside the 'Clone job' page is slow to open

    XMLWordPrintable

Details

    Description

      Issue Summary

      The Plan to clone from drop-down button inside the 'Create > Clone plan' page takes a very long time to open for large Bamboo deployments. Times ranging from 25s to 60s were observed when trying to open the drop-down.

      Steps to Reproduce

      • Bamboo 7.1.2 (16gb xms/ xmx)
      • PostgreSQL 9.6
      • Plans
        • # of plans (CHAIN and CHAIN_BRANCH): 20.958
        • # of jobs - this is the number that shows up inside the application.xml for <number-of-plans>: 169.115
      1. Access Bamboo from a web browser (e.g. Firefox).
      2. Access the Plan configuration page from one of the plans.
      3. Click the 'Add job > Clone an existing job' button under one of your stages.
      4. Click the Plan to clone from drop-down button to search for a plan.

      Expected Results

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

      Actual Results

      The Plan to clone from drop-down takes a really long time 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.

      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.

      Workaround

      1. Use Bamboo Specs to manage your plans (this way you can easily clone/copy tasks from other plans into your Specs code).
      2. Try using different web browsers. It won't solve the problem but may present different loading times.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brosa Bruno Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: