Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A9CA117A0 for ; Tue, 23 Sep 2014 09:35:56 +0000 (UTC) Received: (qmail 23084 invoked by uid 500); 23 Sep 2014 09:35:56 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 23042 invoked by uid 500); 23 Sep 2014 09:35:56 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 23032 invoked by uid 99); 23 Sep 2014 09:35:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 09:35:56 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 23 Sep 2014 09:35:54 +0000 Received: (qmail 22293 invoked by uid 99); 23 Sep 2014 09:35:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2014 09:35:34 +0000 Date: Tue, 23 Sep 2014 09:35:34 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@stratos.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (STRATOS-779) Stratos is creating more instances than the max limit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STRATOS-779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14144610#comment-14144610 ] ASF GitHub Bot commented on STRATOS-779: ---------------------------------------- Github user R-Rajkumar closed the pull request at: https://github.com/apache/stratos/pull/28 > Stratos is creating more instances than the max limit > ----------------------------------------------------- > > Key: STRATOS-779 > URL: https://issues.apache.org/jira/browse/STRATOS-779 > Project: Stratos > Issue Type: Bug > Components: Autoscaler, Cartridge Agent, Cloud Controller > Reporter: Rajkumar Rajaratnam > Fix For: 4.1.0 M1 > > > Currently, call from AS to CC to spawn new instances is synchronous. It has a timeout. Hence, there can be a situation like below, > Call from AS to CC to spawn new instance can time out. > Due to that, AS will not add the pending member for that call. > But CC's attempt to spawn the instance can become successful with a very high delay (> time out) > Meanwhile, the agent can send the instance activated event, even before CC sends the member started event. Since this member is not there in the topology, the event will get discarded. Hence, the member will never get activated in topology, and remains in created state. This is an additional member! -- This message was sent by Atlassian JIRA (v6.3.4#6332)