-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65594/
-----------------------------------------------------------
(Updated Feb. 13, 2018, 10:18 p.m.)
Review request for mesos, James DeFelice, Jie Yu, and Joseph Wu.
Changes
-------
Reverted to revision 1 to remove the best-effort non-decreasing watch logic.
Bugs: MESOS-8492
https://issues.apache.org/jira/browse/MESOS-8492
Repository: mesos
Description
-------
SLRP now checkpoints profiles associated with storage pools, and no
longer assumes that profiles won't be removed by the disk profile
adaptor. It will reject volume/block creation requests that use
missing profiles, but existing volumes/blocks will continue to work.
When a volume/block with a missing profiles is destroyed, it will be
converted to an empty resource, and SLRP will update the sizes of
storage pools for currently known profiles.
Diffs (updated)
-----
src/resource_provider/state.proto 8577b58b8cdb63b3daddf06ea5d12f80f9d42f2b
src/resource_provider/storage/provider.cpp
33abc0e05a804969ae14da9cb9c58698ba1aaea5
src/resource_provider/storage/uri_disk_profile.cpp
665798fdb085ea34f93bd287fe6f9ab29a265cbf
Diff: https://reviews.apache.org/r/65594/diff/3/
Changes: https://reviews.apache.org/r/65594/diff/2-3/
Testing
-------
sudo make check
NOTE: This patch does not change the URI disk profile daptor to allow missing
profiles from upstream. Will have another patch to address this.
Thanks,
Chun-Hung Hsiao