hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiny2 <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-47. Make user able to set statem...
Date Mon, 26 Oct 2015 11:03:53 GMT
Github user jiny2 commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/34#discussion_r42980068
  
    --- Diff: src/backend/resourcemanager/communication/rmcomm_QD2RM.c ---
    @@ -1152,6 +1165,16 @@ int acquireResourceQuotaFromRM(int64_t		user_oid,
     	request.MinSegCountFix   = min_seg_count_fix;
         request.VSegLimitPerSeg	 = rm_nvseg_perquery_perseg_limit;
         request.VSegLimit		 = rm_nvseg_perquery_limit;
    +    request.StatNVSeg		 = rm_stmt_nvseg;
    +
    +    request.StatVSegMemoryMB = 0;
    +    int parseres = FUNC_RETURN_OK;
    +    SimpString valuestr;
    +    setSimpleStringRef(&valuestr, rm_stmt_vseg_mem_str, strlen(rm_stmt_vseg_mem_str));
    +    parseres = SimpleStringToStorageSizeMB(&valuestr,
    +    									   &(request.StatVSegMemoryMB));
    +    Assert(parseres == FUNC_RETURN_OK);
    +
    --- End diff --
    
    Fixed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message