[
https://issues.apache.org/jira/browse/MESOS-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14995652#comment-14995652
]
Klaus Ma commented on MESOS-3826:
---------------------------------
[~sargun], after thinking twice about this requirement, I think the
{{reservationInfo}} will help on this: although different framework in the same
role will reserve resources, the {{reservationInfo}} in framework will
different with each other because of {{principle}} in {{reservation}}. So
{{reserved_resources.contains()}} will identify which resources are reserved by
this framework; within the framework, developer need to maintenance reserved
resource by itself.
[~mcypark]/[~alexr]/[~neilc], if any misunderstanding, please correct me :).
> Add an optional unique identifier for resource reservations
> -----------------------------------------------------------
>
> Key: MESOS-3826
> URL: https://issues.apache.org/jira/browse/MESOS-3826
> Project: Mesos
> Issue Type: Improvement
> Components: general
> Reporter: Sargun Dhillon
> Assignee: Guangya Liu
> Priority: Minor
> Labels: mesosphere
>
> Thanks to the resource reservation primitives, frameworks can reserve
> resources. These reservations are per role, which means multiple frameworks
> can share reservations. This can get very hairy, as multiple reservations can
> occur on each agent.
> It would be nice to be able to optionally, uniquely identify reservations by
> ID, much like persistent volumes are today. This could be done by adding a
> new protobuf field, such as Resource.ReservationInfo.id, that if set upon
> reservation time, would come back when the reservation is advertised.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)