-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57011/
-----------------------------------------------------------
Review request for mesos and Jiang Yan Xu.
Bugs: MESOS-7128
https://issues.apache.org/jira/browse/MESOS-7128
Repository: mesos
Description
-------
SHARE and UNSHARE is allowed for persistent volumes currently.
Only a non-shared resource can be SHAREd, and a shared resource can be
UNSHAREd. UNSHARE is processed only if the resources are not in use
by a running task, or has not been requested by a pending task. If
the UNSHARE is processed, the pending offers containing the resources
to be unshared are rescinded from all frameworks to which this shared
resource has been offered.
Diffs
-----
include/mesos/resources.hpp 73e44be8aa03cfd167ff47bbff5d708fb545c01b
include/mesos/v1/resources.hpp 19132298cf9f51a60f700ed5ac8c3fbe93e8c40f
src/common/protobuf_utils.cpp 442184920521f372c535426f49155cb19980bf6d
src/common/resources.cpp 388e3ef3eabea0dd8d1300e56d493b92b70c75e3
src/master/master.hpp 764adb18ddf09b62529c5c96f8e4dfaf7803483e
src/master/master.cpp 2ef836536784d5fda23c80dc2304239b176a8942
src/master/validation.hpp f03b3280704083be1ca074ca07c69edbb49dae19
src/master/validation.cpp b8c6b49ca5ca1f15e58a2967adc335436a35071f
src/slave/slave.cpp fc480ae23ffa5cdeeb79b3621a08e1f8703bc01a
src/v1/resources.cpp e47c4d49e69b915d37e40a91fef69f75dff52463
Diff: https://reviews.apache.org/r/57011/diff/
Testing
-------
All tests passed.
Thanks,
Anindya Sinha