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 48315: Restart slave if a volume is CREATED on a non-empty path.
Date Tue, 07 Jun 2016 05:09:07 GMT

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

Review request for mesos.


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


Repository: mesos


Description
-------

Root of a MOUNT disk is not deleted on volume DELETE. When we do a
CREATE on a persistent volume and the root directory exists (which
can happen for MOUNT disks), we allow the operation only if the
contents within the root directory is empty. If not, we do not update
the checkpoint with this volume and exit, so as to cleanup when the
slave restarts and handles the CheckpointResourcesMessage.


Diffs
-----

  src/slave/slave.cpp 03a845ebdbb057051ced2d6b7a0d3e5aafd5ac55 

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


Testing
-------

All tests passed.


Thanks,

Anindya Sinha


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