Kevin Klues created MESOS-5581:
----------------------------------
Summary: Guarantee ordering between Isolators
Key: MESOS-5581
URL: https://issues.apache.org/jira/browse/MESOS-5581
Project: Mesos
Issue Type: Improvement
Reporter: Kevin Klues
Assignee: Kevin Klues
Some isolators depend on other isolators. However, we currently do not have a
generic method of expressing these dependencies. We special case the
`filesystem/*` isolators to make sure that dependencies on them are satisfied,
but no other dependencies can be expressed.
Instead, we should use a vector to represent the pairing of isolator name to
isolator creator function. This way, the relative dependencies between each
isolator will be implicit in the ordering of the vector. Currently, a hashmap
is used to hold this pairing, but this is inadequate because hashmaps are
inherently unordered. The new implementation using a vector will ensure
everything is processed in the order it is listed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)