Hi Devs, It seems to me that there is a bug in round-robin implementation of partition algorithm.
https://github.com/apache/stratos/blob/0b7734f4c9f1444d064fec93bf9ac59a5883faf2/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/algorithm/RoundRobin.java#L43-L64 Shouldn't it work based on current partition index? For example, if the most recent instance was spin up in partition-1, the next instance should be spin up in partition-2 and so on. According to current logic what is happening is, all the instance are spin up in partition-1. Please correct me If I am wrong. Thanks. -- Rajkumar Rajaratnam Committer & PMC Member, Apache Stratos Software Engineer, WSO2 Mobile : +94777568639 Blog : rajkumarr.com
