mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Park <mp...@apache.org>
Subject Re: Review Request 60038: Prevented allocating reservation refinements to non-capable frameworks.
Date Mon, 19 Jun 2017 21:52:45 GMT

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

(Updated June 19, 2017, 2:52 p.m.)


Review request for mesos, Benjamin Mahler and Neil Conway.


Repository: mesos


Description (updated)
-------

When reservation refinements are present, old frameworks without the
RESERVATION_REFINEMENT capability won't be able to understand the new
format. While it's possible to translate the refined reservations into
the old format by "hiding" the intermediate reservations in the "stack",
this leads to ambiguity when processing RESERVE / UNRESERVE operations.
This is due to the loss of information when we drop the intermediate
reservations. Therefore, for now we simply filter out resources with
refined reservations if the framework does not have the capability.


Diffs (updated)
-----

  src/master/allocator/mesos/hierarchical.cpp 775fe4115d5f55be1e8542fa4f94699396d9e2a1 


Diff: https://reviews.apache.org/r/60038/diff/5/

Changes: https://reviews.apache.org/r/60038/diff/4-5/


Testing
-------


Thanks,

Michael Park


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