Repository: incubator-hawq
Updated Branches:
  refs/heads/master e45f405c5 -> b2651cf8b


HAWQ-684. Wrongly process container set when failed to increase resource quota 
due to failing to connect to segment


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

Branch: refs/heads/master
Commit: b2651cf8ba90faf1942ca6febc56b836306c5b21
Parents: e45f405
Author: YI JIN <[email protected]>
Authored: Mon Apr 18 17:39:06 2016 +1000
Committer: YI JIN <[email protected]>
Committed: Mon Apr 18 17:39:06 2016 +1000

----------------------------------------------------------------------
 src/backend/resourcemanager/communication/rmcomm_RM2RMSEG.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/b2651cf8/src/backend/resourcemanager/communication/rmcomm_RM2RMSEG.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/communication/rmcomm_RM2RMSEG.c 
b/src/backend/resourcemanager/communication/rmcomm_RM2RMSEG.c
index 44addcf..a726723 100644
--- a/src/backend/resourcemanager/communication/rmcomm_RM2RMSEG.c
+++ b/src/backend/resourcemanager/communication/rmcomm_RM2RMSEG.c
@@ -349,7 +349,7 @@ int increaseMemoryQuota(char *seghostname, GRMContainerSet 
containerset)
                          "on port %d to increase memory quota.",
                   seghostname,
                                  rm_segment_port);
-        processContainersAfterIncreaseMemoryQuota(containerset, false);
+        processContainersAfterIncreaseMemoryQuota(newctns, false);
                freeGRMContainerSet(newctns);
         rm_pfree(AsyncCommContext, context);
         return res;

Reply via email to