Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Resource Mgmt: RI-18 54
-
3
Description
Per comments on this review: https://reviews.apache.org/r/21750/
We've had numerous bugs around resource accounting in the master due to the trickiness of removing offers in the Master code.
There are a few ways to improve this:
1. Add multiple offer methods to differentiate semantics:
useOffer(offerId); rescindOffer(offerId); discardOffer(offerId);
2. Add an enum to removeOffer to differentiate removal semantics:
removeOffer(offerId, USE); removeOffer(offerId, RESCIND); removeOffer(offerId, DISCARD);
Attachments
Issue Links
- is depended upon by
-
MESOS-9949 Track allocated/offered in the allocator's role tree.
- Resolved
- relates to
-
MESOS-4553 Manage offers in allocator.
- Accepted