mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anindya Sinha <anindya_si...@apple.com>
Subject Review Request 52288: Recover resources when offer is rescinded on DESTROY of shared volume.
Date Mon, 26 Sep 2016 23:58:38 GMT

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

Review request for mesos and Jiang Yan Xu.


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
-----

  src/master/master.cpp 66a672f6d16233e96b29e330a9e6c474546fa851 
  src/tests/persistent_volume_tests.cpp 2ab44d11d159162dfcac9d0791b651ed059b8164 

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