You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/06/13 04:25:41 UTC

[2/2] stratos git commit: Remove axis fault handling in partition context

Remove axis fault handling in partition context


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/c8432280
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/c8432280
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/c8432280

Branch: refs/heads/master
Commit: c843228054db0ae5789cccdb8bb41a5b406424ee
Parents: 83ca4b9
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Sat Jun 13 07:55:31 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Sat Jun 13 07:55:31 2015 +0530

----------------------------------------------------------------------
 .../context/partition/ClusterLevelPartitionContext.java       | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/c8432280/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/partition/ClusterLevelPartitionContext.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/partition/ClusterLevelPartitionContext.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/partition/ClusterLevelPartitionContext.java
index 4985fb0..dd54731 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/partition/ClusterLevelPartitionContext.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/partition/ClusterLevelPartitionContext.java
@@ -719,13 +719,10 @@ public class ClusterLevelPartitionContext extends PartitionContext implements Se
                                 obsoleteMember.getClusterInstanceId()));
 
                         //notifying CC, about the removal of obsolete member
-                        try {
+
                             AutoscalerCloudControllerClient.getInstance().removeExpiredObsoletedMemberFromCloudController(
                                     obsoleteMember);
-                        } catch (AxisFault axisFault) {
-                            log.error(String.format("Error while removing member from cloud controller for obsolete " +
-                                    "member, [member-id] %s ", obsoleteMemberId));
-                        }
+
                         iterator.remove();
                         if (ctxt.getMemberStatsContexts().containsKey(obsoleteMemberId)) {
                             ctxt.getMemberStatsContexts().remove(obsoleteMemberId);