mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anindya Sinha <anindya_si...@apple.com>
Subject Re: Review Request 52288: Recover resources when offer is rescinded on DESTROY of shared volume.
Date Fri, 07 Oct 2016 06:40:48 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/52288/
-----------------------------------------------------------

(Updated Oct. 7, 2016, 6:40 a.m.)


Review request for mesos and Jiang Yan Xu.


Changes
-------

Addressed review comments.


Bugs: MESOS-6257
    https://issues.apache.org/jira/browse/MESOS-6257


Repository: mesos


Description
-------

When a framework issues a DESTROY of a shared volume, and that volume
is not in use by a running or a pending task, we rescind the offers
from frameworks to which the shared volume is present in pending offers
so that the volume is not assigned to any task in a future ACCEPT call.
At that time, we need to recover the resources as well for proper
accounting of such resources by the allocator.


Diffs (updated)
-----

  src/master/master.cpp c7e74df71aa31edb490f4f3bd95f2d5aa94b4324 
  src/tests/.slave_recovery_tests.cpp.swp PRE-CREATION 
  src/tests/persistent_volume_tests.cpp e10a79e9662530e143ccaa2aa2506a4d25158364 

Diff: https://reviews.apache.org/r/52288/diff/


Testing
-------

All tests passed.


Thanks,

Anindya Sinha


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message