Repository: stratos Updated Branches: refs/heads/master 85c0ea4e2 -> 4b39ed654
fixing lb cluster is not moved to active list Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/4b39ed65 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/4b39ed65 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/4b39ed65 Branch: refs/heads/master Commit: 4b39ed6546dc775c0d587b103b184bbe86c18bdb Parents: df14795 Author: R-Rajkumar <[email protected]> Authored: Wed Oct 1 13:46:31 2014 +0530 Committer: Akila Perera <[email protected]> Committed: Wed Oct 1 13:59:36 2014 +0530 ---------------------------------------------------------------------- .../receiver/topology/AutoscalerTopologyEventReceiver.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/4b39ed65/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/message/receiver/topology/AutoscalerTopologyEventReceiver.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/message/receiver/topology/AutoscalerTopologyEventReceiver.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/message/receiver/topology/AutoscalerTopologyEventReceiver.java index 891aeb0..1603aef 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/message/receiver/topology/AutoscalerTopologyEventReceiver.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/message/receiver/topology/AutoscalerTopologyEventReceiver.java @@ -390,7 +390,8 @@ public class AutoscalerTopologyEventReceiver implements Runnable { return; } - if (monitor.getClusterType() == ClusterType.VMServiceCluster) { + if (monitor.getClusterType() == ClusterType.VMServiceCluster + || monitor.getClusterType() == ClusterType.VMLbCluster) { PartitionContext partitionContext; partitionContext = ((VMClusterMonitor) monitor).getNetworkPartitionCtxt(networkPartitionId).getPartitionCtxt(partitionId); partitionContext.addMemberStatsContext(new MemberStatsContext(memberId));
