AFAIS upon MemberTerminatedEvent it's getting removed (check MemberTerminatedEventListener).
On Wed, Apr 16, 2014 at 6:46 PM, Imesh Gunaratne (JIRA) <[email protected]>wrote: > Imesh Gunaratne created STRATOS-614: > --------------------------------------- > > Summary: Scale down logic does not execute as intended > Key: STRATOS-614 > URL: https://issues.apache.org/jira/browse/STRATOS-614 > Project: Stratos > Issue Type: Bug > Components: Autoscaler > Reporter: Imesh Gunaratne > > > According to a flow test carried out on the latest code base, scale down > functionality does not work as intended. > > Scenario: > 1. Partition Max Instance Count set to 3 > 2. Send a sample request load to take scale up action. Autoscaler will > spin up 3 instances. > 3. Stop the sample request load. > 4. Let the service cluster scale down. > 5. One instance being terminated but two remains. > > As found in the Autoscaler logs Member Stat Context of the terminated > member is not being removed from the Cluster Context. As a result the same > member being selected in each scale down action round. > > > > > -- > This message was sent by Atlassian JIRA > (v6.2#6252) > -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/
