[ 
https://issues.apache.org/jira/browse/STRATOS-779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14144609#comment-14144609
 ] 

ASF GitHub Bot commented on STRATOS-779:
----------------------------------------

Github user R-Rajkumar commented on the pull request:

    https://github.com/apache/stratos/pull/28#issuecomment-56495427
  
    committed in 5e41897eb730b941f2d2521f15dd6378eaddddda


> 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)

Reply via email to