Updated upgrades.md about Resource API changes. Review: https://reviews.apache.org/r/36010
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f74759f3 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f74759f3 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/f74759f3 Branch: refs/heads/master Commit: f74759f3f5ac4fd04c2542b6280c985d21265e6c Parents: a8e0a33 Author: Jie Yu <[email protected]> Authored: Mon Jun 29 11:12:56 2015 -0700 Committer: Jie Yu <[email protected]> Committed: Mon Jun 29 11:34:01 2015 -0700 ---------------------------------------------------------------------- docs/upgrades.md | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/f74759f3/docs/upgrades.md ---------------------------------------------------------------------- diff --git a/docs/upgrades.md b/docs/upgrades.md index 3eca7b8..cef055b 100644 --- a/docs/upgrades.md +++ b/docs/upgrades.md @@ -14,6 +14,8 @@ This document serves as a guide for users who wish to upgrade an existing mesos **NOTE** A new scheduler driver API, `acceptOffers`, has been introduced. This is a more general version of the `launchTasks` API, which allows the scheduler to accept an offer and specify a list of operations (Offer.Operation) to perform using the resources in the offer. Currently, the supported operations include LAUNCH (launching tasks), RESERVE (making dynamic reservations), UNRESERVE (releasing dynamic reservations), CREATE (creating persistent volumes) and DESTROY (releasing persistent volumes). Similar to the `launchTasks` API, any unused resources will be considered declined, and the specified filters will be applied on all unused resources. +**NOTE** The Resource protobuf has been extended to include more metadata for supporting persistence (DiskInfo), dynamic reservations (ReservationInfo) and oversubscription (RevocableInfo). You must not combine two Resource objects if they have different metadata. + ## Upgrading from 0.21.x to 0.22.x **NOTE** Slave checkpoint flag has been removed as it will be enabled for all
