hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From y...@apache.org
Subject incubator-hawq git commit: HAWQ-526. Resource queue total resource request is not updated when cluster capacity is changed
Date Mon, 14 Mar 2016 05:23:14 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 84d54c92f -> fa993ac9f


HAWQ-526. Resource queue total resource request is not updated when cluster capacity is changed


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

Branch: refs/heads/master
Commit: fa993ac9f37b708559fd875616d29b4c3fe950da
Parents: 84d54c9
Author: YI JIN <yjin@pivotal.io>
Authored: Mon Mar 14 16:23:00 2016 +1100
Committer: YI JIN <yjin@pivotal.io>
Committed: Mon Mar 14 16:23:00 2016 +1100

----------------------------------------------------------------------
 src/backend/resourcemanager/resqueuemanager.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/fa993ac9/src/backend/resourcemanager/resqueuemanager.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/resqueuemanager.c b/src/backend/resourcemanager/resqueuemanager.c
index b4449cd..00de72d 100644
--- a/src/backend/resourcemanager/resqueuemanager.c
+++ b/src/backend/resourcemanager/resqueuemanager.c
@@ -5735,7 +5735,8 @@ void applyResourceQueueTrackChangesFromShadows(List *quehavingshadow)
 		resetResourceBundleDataByBundle(&(quetrack->TotalAllocated),
 										&(shadowtrack->TotalAllocated));
 
-		resetResourceBundleData(&(shadowtrack->TotalRequest), 0, 0.0, 0);
+		resetResourceBundleDataByBundle(&(quetrack->TotalRequest),
+										&(shadowtrack->TotalRequest));
 
 		quetrack->expectMoreResource	= false;
 		quetrack->pauseAllocation 		= false;


Mime
View raw message