[
https://issues.apache.org/jira/browse/MESOS-9984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benno Evers reassigned MESOS-9984:
----------------------------------
Assignee: Benno Evers
> Provide a function to compute a common "reservation ancestor" between two
> 'Resources'
> -------------------------------------------------------------------------------------
>
> Key: MESOS-9984
> URL: https://issues.apache.org/jira/browse/MESOS-9984
> Project: Mesos
> Issue Type: Task
> Reporter: Benjamin Bannier
> Assignee: Benno Evers
> Priority: Major
>
> We need to provide a function to compute a common "reservation ancestor"
> between two resources, {{Try<Resources> getReservationAncestor(const
> Resources&, const Resources&)}}.
> The common ancestor can be found by repeatedly popping dynamic reservations
> from the full {{Resources}}.
> We should test the following cases:
> * either LHS or RHS empty
> * both empty -> empty ancestor
> * {{STATIC}} reservations on path
> * partially reserved LHS/RHS (partially reserved: not all {{Resource}} have
> the same reservation).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)