You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2014/06/03 03:46:02 UTC
[jira] [Created] (MESOS-1452) Improve Master::removeOffer to avoid
further resource accounting bugs.
Benjamin Mahler created MESOS-1452:
--------------------------------------
Summary: Improve Master::removeOffer to avoid further resource accounting bugs.
Key: MESOS-1452
URL: https://issues.apache.org/jira/browse/MESOS-1452
Project: Mesos
Issue Type: Improvement
Reporter: Benjamin Mahler
Assignee: Benjamin Mahler
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:
{code}
useOffer(offerId);
rescindOffer(offerId);
discardOffer(offerId);
{code}
2. Add an enum to removeOffer to differentiate removal semantics:
{code}
removeOffer(offerId, USE);
removeOffer(offerId, RESCIND);
removeOffer(offerId, DISCARD);
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)