Repository: stratos Updated Branches: refs/heads/stratos-4.1.x a3b0dd5f7 -> 8f41e9ff3
fixing an issue in loading Initialized state members Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/bf4335b1 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/bf4335b1 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/bf4335b1 Branch: refs/heads/stratos-4.1.x Commit: bf4335b1ef60b4ea596ee3b14960deac5a8e55fe Parents: 28dfc07 Author: rajkumar <[email protected]> Authored: Thu Nov 19 16:30:51 2015 +0530 Committer: rajkumar <[email protected]> Committed: Thu Nov 19 16:30:51 2015 +0530 ---------------------------------------------------------------------- .../apache/stratos/autoscaler/context/cluster/ClusterContext.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/bf4335b1/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java index 235b7b7..adfb43f 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java @@ -374,7 +374,8 @@ public class ClusterContext extends AbstractClusterContext { clusterLevelPartitionContext.getPartitionId(), memberId)); } } else if (MemberStatus.Created.equals(member.getStatus()) - || MemberStatus.Starting.equals(member.getStatus())) { + || MemberStatus.Starting.equals(member.getStatus()) + || MemberStatus.Initialized.equals(member.getStatus())) { clusterLevelPartitionContext.addPendingMember(memberContext); if (log.isDebugEnabled()) { String msg = String.format("Created or starting member read from topology and added to " +
