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/02/24 14:03:15 UTC
stratos git commit: Fix the issue of not sending instance cleanup
message for pending termination members
Repository: stratos
Updated Branches:
refs/heads/master 57e3ccafb -> 7b3928a33
Fix the issue of not sending instance cleanup message for pending termination members
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/7b3928a3
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/7b3928a3
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/7b3928a3
Branch: refs/heads/master
Commit: 7b3928a33e6747f9f48bd312926b78d49d0f3b55
Parents: 57e3cca
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Tue Feb 24 18:29:13 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Tue Feb 24 18:32:31 2015 +0530
----------------------------------------------------------------------
.../distribution/src/main/conf/drools/obsoletecheck.drl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/7b3928a3/products/stratos/modules/distribution/src/main/conf/drools/obsoletecheck.drl
----------------------------------------------------------------------
diff --git a/products/stratos/modules/distribution/src/main/conf/drools/obsoletecheck.drl b/products/stratos/modules/distribution/src/main/conf/drools/obsoletecheck.drl
index 734cd0a..f119d34 100755
--- a/products/stratos/modules/distribution/src/main/conf/drools/obsoletecheck.drl
+++ b/products/stratos/modules/distribution/src/main/conf/drools/obsoletecheck.drl
@@ -70,9 +70,9 @@ dialect "mvel"
eval(log.debug("Running instances cleanup event sender rule: [partition] " + ctxt.getPartitionId() + " [network-partition] " + ctxt.getNetworkPartitionId()))
eval(log.debug("[instance-cleanup-check] [network-partition] " + ctxt.getNetworkPartitionId() + " [partition] " + ctxt.getPartitionId() + " [cluster] " + clusterId + " Pending termination member count: " + ctxt.getTerminationPendingMembers().size()))
eval(ctxt.getTerminationPendingMembers().size() > 0)
- memberId : String() from ctxt.getTerminationPendingMembers()
- eval(log.debug("[instance-cleanup-check ] [network-partition] " + ctxt.getNetworkPartitionId() + " [partition] " + ctxt.getPartitionId() + " [cluster] " + clusterId + " Member id: " + memberId))
+ member : MemberContext() from ctxt.getTerminationPendingMembers()
+ eval(log.debug("[instance-cleanup-check ] [network-partition] " + ctxt.getNetworkPartitionId() + " [partition] " + ctxt.getPartitionId() + " [cluster] " + clusterId + " Member id: " + member.getMemberId()))
then
- delegator.delegateInstanceCleanup(memberId);
+ delegator.delegateInstanceCleanup(member.getMemberId());
end