hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shiv...@apache.org
Subject [42/50] incubator-hawq git commit: HAWQ-561. Wrongly check variance of number of virtual segments
Date Mon, 21 Mar 2016 22:02:11 GMT
HAWQ-561. Wrongly check variance of number of virtual segments


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

Branch: refs/heads/HAWQ-459
Commit: 1d9eb5e32a9c0a6a46e39f854b40442b5b0d12c8
Parents: 86d9b0c
Author: YI JIN <yjin@pivotal.io>
Authored: Fri Mar 18 19:18:39 2016 +1100
Committer: YI JIN <yjin@pivotal.io>
Committed: Fri Mar 18 19:18:39 2016 +1100

----------------------------------------------------------------------
 src/backend/resourcemanager/resourcepool.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/1d9eb5e3/src/backend/resourcemanager/resourcepool.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/resourcepool.c b/src/backend/resourcemanager/resourcepool.c
index e5d083c..acc8dbe 100644
--- a/src/backend/resourcemanager/resourcepool.c
+++ b/src/backend/resourcemanager/resourcepool.c
@@ -2556,7 +2556,7 @@ int allocateResourceFromResourcePoolIOBytes2(int32_t 	 nodecount,
 		freePAIRRefList(&(PRESPOOL->Segments), &ressegl);
 		Assert(minnvseg <= maxnvseg);
 
-		if ( maxnvseg - minnvseg > rm_tolerate_nseg_limit )
+		if ( maxnvseg - minnvseg > rm_nvseg_variance_among_seg_limit )
 		{
 			elog(LOG, "Reject virtual segment allocation based on data "
 					  "locality information. After tentative allocation "
@@ -2565,7 +2565,7 @@ int allocateResourceFromResourcePoolIOBytes2(int32_t 	 nodecount,
 					  "is %d, tolerated difference limit is %d.",
 					  maxnvseg,
 					  minnvseg,
-					  rm_tolerate_nseg_limit);
+					  rm_nvseg_variance_among_seg_limit);
 
 			/* Return the allocated resource. */
 			List 	 *vsegcntlist = NULL;


Mime
View raw message