Alex Clemmer created MESOS-5610:
-----------------------------------

             Summary: Transition Docker image "whiteout" deletion from FTS to 
something Windows-compatible
                 Key: MESOS-5610
                 URL: https://issues.apache.org/jira/browse/MESOS-5610
             Project: Mesos
          Issue Type: Bug
          Components: containerization
            Reporter: Alex Clemmer
            Assignee: Alex Clemmer


In `slave/containerizer/mesos/provisioner/provisioner.cpp`, the function 
`ProvisionerProcess::__provision` uses the FTS API to walk the directory and 
delete some files and directories per the Docker v1 spec[1].

The FTS API conforms to BSD; it is not available on Windows.

We therefore have 2 options: we can (1) prove we don't need this for Windows 
Containers, or (2) implement a version of this code that does not depend on 
FTS, in a manner similar to our modifications to `os::rmdir`.


[1] https://github.com/docker/docker/blob/master/image/spec/v1.md



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to