mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klaus Ma <klaus1982...@gmail.com>
Subject Re: Review Request 42678: WIP: Avoid `slave.total` do not contain `slave.allocated` in allocator.
Date Sat, 23 Jan 2016 01:16:28 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message