From issues-return-6012-apmail-continuum-issues-archive=continuum.apache.org@continuum.apache.org Thu Aug 11 06:51:29 2011 Return-Path: X-Original-To: apmail-continuum-issues-archive@www.apache.org Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A2CA47AAD for ; Thu, 11 Aug 2011 06:51:29 +0000 (UTC) Received: (qmail 43102 invoked by uid 500); 11 Aug 2011 06:51:28 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 43028 invoked by uid 500); 11 Aug 2011 06:51:15 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 42996 invoked by uid 99); 11 Aug 2011 06:51:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 06:51:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 06:51:04 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 987BE458050 for ; Thu, 11 Aug 2011 01:50:42 -0500 (CDT) Date: Thu, 11 Aug 2011 01:50:42 -0500 (CDT) From: "Maria Catherine Tan (JIRA)" To: issues@continuum.apache.org Message-ID: <14411340.32948.1313045442592.JavaMail.haus-jira@codehaus01.managed.contegix.com> In-Reply-To: <20322301.32911.1313042082532.JavaMail.haus-jira@codehaus01.managed.contegix.com> Subject: [jira] Closed: (CONTINUUM-2648) Project build is sometimes distributed to the wrong agent MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ https://jira.codehaus.org/browse/CONTINUUM-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maria Catherine Tan closed CONTINUUM-2648. ------------------------------------------ Resolution: Fixed Fix Version/s: 1.4.1 (Beta) fixed in r1156500 * include the number of projects when project group is in prepare build queue or currently preparing build. > Project build is sometimes distributed to the wrong agent > --------------------------------------------------------- > > Key: CONTINUUM-2648 > URL: https://jira.codehaus.org/browse/CONTINUUM-2648 > Project: Continuum > Issue Type: Bug > Components: Distributed Builds > Affects Versions: 1.4.0 (Beta) > Reporter: Maria Catherine Tan > Fix For: 1.4.1 (Beta) > > > 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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira