fixing group termination issue
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/359d323b Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/359d323b Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/359d323b Branch: refs/heads/4.1.0-test Commit: 359d323b98ff5d897eac64cae516ad8075b239f5 Parents: 681f597 Author: reka <[email protected]> Authored: Tue Dec 9 11:29:28 2014 +0530 Committer: reka <[email protected]> Committed: Thu Dec 11 19:20:13 2014 +0530 ---------------------------------------------------------------------- .../autoscaler/monitor/component/ParentComponentMonitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/359d323b/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 91c3724..f2f345a 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 @@ -303,7 +303,7 @@ public abstract class ParentComponentMonitor extends Monitor { //handling the killall scenario if (this.parent != null) { //send terminating to the parent. So that it will push terminating to its children - ApplicationBuilder.handleGroupTerminatingEvent(this.appId, childId, instanceId); + ApplicationBuilder.handleGroupTerminatingEvent(this.appId, this.id, instanceId); } else { //if it is an application, send terminating event individually for children sendTerminatingEventOnNotification(terminationList, childId, true, instanceId);
