Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Twitter Mesos Q3 Sprint 1, Mesosphere Sprint 31
-
5
Description
At present, destroying a persistent volume does not cleanup any filesystem space that was used by the volume (it just removes the Mesos-level metadata about the volume). This effectively leads to a storage leak, which is bad. For task sandboxes, we do "garbage collection" to remove the sandbox at a later time to facilitate debugging failed tasks; for volumes, because they are explicitly deleted and are not tied to the lifecycle of a task, removing the associated storage immediately seems best.
To implement this safely, we'll either need to ensure that libprocess messages are delivered in-order, or else add some extra safe-guards to ensure that out-of-order CheckpointResources messages don't lead to accidental data loss.
Attachments
Issue Links
- relates to
-
MESOS-9352 Data in persistent volume deleted accidentally when using Docker container and Persistent volume
- Resolved