[ 
https://issues.apache.org/jira/browse/MESOS-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190845#comment-13190845
 ] 

[email protected] commented on MESOS-129:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/3583/#review4526
-----------------------------------------------------------

Ship it!


Wow, I thought this bug was fixed! Oh the perils of two different code 
repositories ... but no more! ;) I'll commit this right away. Thanks Charles.

- Benjamin


On 2012-01-22 20:44:30, Charles Reiss wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/3583/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-01-22 20:44:30)
bq.  
bq.  
bq.  Review request for mesos.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  int j = j + 1 didn't make any sense; I assume int i = i + 1 was meant so 
the check would be done on all pairs.
bq.  
bq.  
bq.  This addresses bug MESOS-129.
bq.      https://issues.apache.org/jira/browse/MESOS-129
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    src/common/resources.hpp 350e75d 
bq.  
bq.  Diff: https://reviews.apache.org/r/3583/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Charles
bq.  
bq.


                
> j = j + 1 in Resources::isAllocatable
> -------------------------------------
>
>                 Key: MESOS-129
>                 URL: https://issues.apache.org/jira/browse/MESOS-129
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Charles Reiss
>            Assignee: Charles Reiss
>            Priority: Minor
>
> common/resources.hpp has 'int j = j + 1' in for loop over Resources. This 
> appears to occasionally (only if things get compiled "just right"?) cause a 
> memory error that valgrind can find in some tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to