Repository: stratos Updated Branches: refs/heads/master 7cb8dc7eb -> 58f90bc55
Correcting the log in scaling.drl Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/58f90bc5 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/58f90bc5 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/58f90bc5 Branch: refs/heads/master Commit: 58f90bc5575970a287a019e0fb367f75cb804091 Parents: 7cb8dc7 Author: Vishanth <[email protected]> Authored: Fri May 22 10:58:42 2015 +0530 Committer: Lahiru Sandaruwan <[email protected]> Committed: Fri May 22 14:59:49 2015 +0530 ---------------------------------------------------------------------- .../modules/distribution/src/main/conf/drools/scaling.drl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/58f90bc5/products/stratos/modules/distribution/src/main/conf/drools/scaling.drl ---------------------------------------------------------------------- diff --git a/products/stratos/modules/distribution/src/main/conf/drools/scaling.drl b/products/stratos/modules/distribution/src/main/conf/drools/scaling.drl index 0ef3b82..07da870 100644 --- a/products/stratos/modules/distribution/src/main/conf/drools/scaling.drl +++ b/products/stratos/modules/distribution/src/main/conf/drools/scaling.drl @@ -177,7 +177,7 @@ dialect "mvel" " [rifPredictedValue] " + rifPredictedValue + " [rifThreshold] " + rifThreshold + " scaleup due to MC: " + (mcReset && (mcPredictedValue > mcThreshold)) + " [mcPredictedValue] " + mcPredictedValue + " [mcThreshold] " + mcThreshold + - " scaleup due to MC: " + (laReset && (laPredictedValue > laThreshold)) + + " scaleup due to LA: " + (laReset && (laPredictedValue > laThreshold)) + " [laPredictedValue] " + laPredictedValue + " [laThreshold] " + laThreshold); log.debug("[scale-up] " + " [partition] " + partitionContext.getPartitionId() + " [cluster] " + clusterId ); @@ -229,7 +229,7 @@ dialect "mvel" " [rifPredictedValue] " + rifPredictedValue + " [rifThreshold] " + rifThreshold + " scaledown due to MC: " + (mcReset && (mcPredictedValue < mcThreshold)) + " [mcPredictedValue] " + mcPredictedValue + " [mcThreshold] " + mcThreshold + - " scaledown due to MC: " + (laReset && (laPredictedValue < laThreshold)) + + " scaledown due to LA: " + (laReset && (laPredictedValue < laThreshold)) + " [laPredictedValue] " + laPredictedValue + " [laThreshold] " + laThreshold );
