You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by al...@apache.org on 2017/05/11 10:16:48 UTC

[07/11] mesos git commit: Clarified the comment about Container.directory.

Clarified the comment about Container.directory.

Review: https://reviews.apache.org/r/58819


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8b06fbc0
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8b06fbc0
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/8b06fbc0

Branch: refs/heads/master
Commit: 8b06fbc09f64e55f243770a657fed512c34103e1
Parents: eecbd50
Author: Alexander Rukletsov <al...@apache.org>
Authored: Thu Apr 27 18:19:35 2017 +0200
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Thu May 11 12:15:55 2017 +0200

----------------------------------------------------------------------
 src/slave/containerizer/mesos/containerizer.hpp | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/8b06fbc0/src/slave/containerizer/mesos/containerizer.hpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/containerizer.hpp b/src/slave/containerizer/mesos/containerizer.hpp
index 7c8d1a0..04ab997 100644
--- a/src/slave/containerizer/mesos/containerizer.hpp
+++ b/src/slave/containerizer/mesos/containerizer.hpp
@@ -319,6 +319,11 @@ private:
 
     // Sandbox directory for the container. It is optional here because
     // we don't keep track of sandbox directory for orphan containers.
+    // It is not checkpointed explicitly; on recovery, it is reconstructed
+    // from executor's directory and hierarchy of containers.
+    //
+    // NOTE: This holds the sandbox path in the host mount namespace,
+    // while MESOS_SANDBOX is the path in the container mount namespace.
     Option<std::string> directory;
 
     // We keep track of the future exit status for the container if it