~mesos/mesos/master

Viewing all changes in revision 11294.

  • Committer: Benjamin Mahler
  • Date: 2017-01-30 01:12:30 UTC
  • Revision ID: git-v1:9df201ff2729ff9ebd290e0e8a8a67b4e1de3998
Updated resources quantity stripping to strip AllocationInfo.

Currently, `Resources::createStrippedScalarQuantity()` attempts to
create a notion of a "quantity" of resources. In order to do this,
all distinguishing metadata between resources of the same name are
stripped. This currently includes, disk metadata, reservation
metadata (only for dynamic reservations), and shared resource
metadata. To maintain the notion of a quantity, this patch also
strips the allocation metadata.

Review: https://reviews.apache.org/r/55829

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: