You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Klaus Ma <kl...@gmail.com> on 2015/11/25 03:04:02 UTC

Re: Review Request 38201: [WIP] precision errors with allocation calculations

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

(Updated Nov. 25, 2015, 10:04 a.m.)


Review request for mesos, Jie Yu and Vinod Kone.


Changes
-------

The final solution is under discussion; mark it as [WIP].


Summary (updated)
-----------------

[WIP] precision errors with allocation calculations


Bugs: MESOS-1187
    https://issues.apache.org/jira/browse/MESOS-1187


Repository: mesos


Description
-------

As allocations are stored/transmitted as doubles many a times precision errors creep in.


Diffs
-----

  src/common/values.cpp 750264e603b4cde2011f07f4434a4b34fe3e512f 
  src/tests/resources_tests.cpp 2ae93a9c8235e5e4643539d409df51c39c6d7e56 

Diff: https://reviews.apache.org/r/38201/diff/


Testing
-------

make
make check


Thanks,

Klaus Ma