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

Jie Yu commented on MESOS-1187:
-------------------------------

To be clear, this is just a short term fix so that we don't end up with CHECK 
failures in the allocator, right?

If that's the case, I vote for option 1 and suggest that we replace CHECK in 
allocator with CHECK_DOUBLE_EQ (instead of changing the equal operator impl.)

> precision errors with allocation calculations
> ---------------------------------------------
>
>                 Key: MESOS-1187
>                 URL: https://issues.apache.org/jira/browse/MESOS-1187
>             Project: Mesos
>          Issue Type: Bug
>          Components: allocation, master
>            Reporter: aniruddha sathaye
>            Assignee: Klaus Ma
>
> As allocations are stored/transmitted as doubles many a times precision 
> errors creep in. 
> we have seen erroneous share calculations happen only because of floating 
> point arithmetic. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to