mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng Zhu <>
Subject Re: Review Request 67826: Made `Slave::getAvailable()` return all shared resources.
Date Tue, 17 Jul 2018 19:47:37 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated July 17, 2018, 12:47 p.m.)

Review request for mesos, Benjamin Mahler and Jiang Yan Xu.



Re BenM:

- Updated the description regarding motivation.
- Documented the shared resource allocation strategy.
- This patch is self-contained -- it preserves the code correctness.
- No, it does not affect the current metrics in any way.

Repository: mesos

Description (updated)

Currently, depending on already allocated resources,
may not contain all the shared resources.
Thus it does not accurately reflect what is available.

Since shared resources are always allocatable, we should
include all shared resources in the agent available resources.
This would help remove the one off logic for removing and
adding back shared resources in the allocation loop.

Diffs (updated)

  src/master/allocator/mesos/hierarchical.hpp 0f6c0e96a105c64465d3f5db4ff663d8fdfe7e26 




make check


Meng Zhu

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