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

(Updated Jan. 23, 2016, 9:16 a.m.)


Review request for mesos.


Changes
-------

Add description


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

WIP: Avoid `slave.total` do not contain `slave.allocated` in allocator.


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


Repository: mesos


Description (updated)
-------

__Phenomenon__:
In master log, `slave.allocated` may have more resources than `slave.total`.

__Root Cause__:
Not trace revocable resources in allocator; so the info maybe different between 
Master/Slave because of race condition. 

__Solution/Fix__:
Trace revocable resources in allocator.


Diffs
-----

  src/tests/oversubscription_tests.cpp 6f43103e81303015fb614653e3bfece55009d1bf 

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


Testing (updated)
-------

make check GTEST_FILTER="OversubscriptionTest.OverOffered"


Thanks,

Klaus Ma

Reply via email to