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/03/06 11:21:52 UTC

stratos git commit: Removing resetting of scaling events map, to avoid lost of old scaling events

Repository: stratos
Updated Branches:
  refs/heads/master 357d0d971 -> e3552c469


Removing resetting of scaling events map, to avoid lost of old scaling events


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

Branch: refs/heads/master
Commit: e3552c4690fb1bca49617394b8ea503b1a65c19f
Parents: 357d0d9
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Fri Mar 6 15:51:39 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Fri Mar 6 15:51:39 2015 +0530

----------------------------------------------------------------------
 .../autoscaler/monitor/component/ParentComponentMonitor.java       | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/e3552c46/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ParentComponentMonitor.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ParentComponentMonitor.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ParentComponentMonitor.java
index 0337c87..04592bd 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ParentComponentMonitor.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/ParentComponentMonitor.java
@@ -608,8 +608,6 @@ public abstract class ParentComponentMonitor extends Monitor implements Runnable
                 }
             }
         }
-        //Resetting the events
-        instanceContext.setIdToScalingEvent(new ConcurrentHashMap<String, ScalingEvent>());
     }
 
     // move to inactive monitors list to use in the Terminated event