Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2408

Slave should reclaim storage for destroyed persistent volumes.

    XMLWordPrintableJSON

Details

    • 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

          Activity

            People

              neilc Neil Conway
              jieyu Jie Yu
              Jie Yu Jie Yu
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: