Continuum
  1. Continuum
  2. CONTINUUM-2648

Project build is sometimes distributed to the wrong agent

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0 (Beta)
    • Fix Version/s: 1.4.1
    • Component/s: Distributed Builds
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      In determining which build agent is least busy, continuum will based it by the number returned by getBuildSizeOfAgent().

      getBuildSizeOfAgent() will return the total number of projects in build queue and current build plus the total number of project group in prepare build queue and currently preparing build.

      I have 2 build agents and Agent A is currently preparing build a multi-module project (with 20 submodules) e.g. Continuum while Agent B is currently building a single project.

      When I get the build size of each agent, it will both return a number of 1. So if I tried to build a third project, it could be distributed to Agent A when clearly it should build in Agent B because there's a higher chance that it will finish earlier because it's only a single project.

        Activity

        Hide
        Maria Catherine Tan added a comment -

        fixed in r1156500

        • include the number of projects when project group is in prepare build queue or currently preparing build.
        Show
        Maria Catherine Tan added a comment - fixed in r1156500 include the number of projects when project group is in prepare build queue or currently preparing build.

          People

          • Assignee:
            Maria Catherine Tan
            Reporter:
            Maria Catherine Tan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: