mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <chhs...@apache.org>
Subject Re: Review Request 70132: Do not implicitly refuse speculatively converted resources.
Date Wed, 06 Mar 2019 05:07:45 GMT

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

(Updated March 6, 2019, 5:07 a.m.)


Review request for mesos, Benjamin Mahler and Meng Zhu.


Changes
-------

Addressed Meng's comments.


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


Repository: mesos


Description
-------

Currently if a framework accepts an offer to perform pipelined
operations, e.g., reserving resource, without a final consumer, the
converted resources will be implicitly refused. This is an undesired
behavior as the framework might want to reserve one resource first but
launch a task later in the next allocation cycle. This patch fixes this
behavior.

But, if the framework accepts an offers with multiple operations that
cancel out each other, the resources consumed by these operations are
still considered unused and will be refused.


Diffs (updated)
-----

  docs/scheduler-http-api.md 8384336bbecf2ca38a3cd203f9db28d931812d65 
  src/master/master.cpp 015da54583448a8d102d8e401e48bd228baf6dd6 
  src/tests/slave_tests.cpp 22a0295086ae4f4ec26df00a0e077eecfa27f1fb 


Diff: https://reviews.apache.org/r/70132/diff/2/

Changes: https://reviews.apache.org/r/70132/diff/1-2/


Testing
-------

make check


Thanks,

Chun-Hung Hsiao


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