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

Calculating executable agents should have some filtering for performance reasons

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Performance
    • None
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem Definition

      Any page that needs to calculate which agents can build something and includes offline agents, for example:

      • Tasks
      • Requirements
      • Agent assignment (Deployments)

      Can become non-performant as the amount of offline agents grows. This is a common pattern in instances where customers are spinning up and spinning down agents on demand without deleting them from Bamboo.

      Suggested Solution

      When filtering offline agents, it might be sensible to filter out agents that have been offline for a certain time period. E.g. 6+ months.

      Workaround

      Clean up offline agents that are no longer used at Bamboo Administration >> Agents > Offline Agents

      Bamboo 6.10.x and later has a REST API that can be used to automate the deletion:
      https://docs.atlassian.com/atlassian-bamboo/REST/6.10.4/#d2e857.

              Unassigned Unassigned
              jowen@atlassian.com Jeremy Owen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: