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 2018/01/25 00:38:52 UTC
mesos git commit: Removed a comment in io switchboard.
Repository: mesos
Updated Branches:
refs/heads/master bf78ac7f7 -> 635c33431
Removed a comment in io switchboard.
The comment is incorrect since io switchboard
allows reconnects after agent restarts.
Review: https://reviews.apache.org/r/65180/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/635c3343
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/635c3343
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/635c3343
Branch: refs/heads/master
Commit: 635c33431a0bd15651c88529334ab30d3737d292
Parents: bf78ac7
Author: Andrei Budnik <ab...@mesosphere.com>
Authored: Thu Jan 25 01:36:37 2018 +0100
Committer: Alexander Rukletsov <al...@apache.org>
Committed: Thu Jan 25 01:37:33 2018 +0100
----------------------------------------------------------------------
src/slave/containerizer/mesos/io/switchboard.cpp | 4 ----
1 file changed, 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/635c3343/src/slave/containerizer/mesos/io/switchboard.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/io/switchboard.cpp b/src/slave/containerizer/mesos/io/switchboard.cpp
index de04c6c..aeb0b3e 100644
--- a/src/slave/containerizer/mesos/io/switchboard.cpp
+++ b/src/slave/containerizer/mesos/io/switchboard.cpp
@@ -662,10 +662,6 @@ Future<http::Connection> IOSwitchboard::_connect(
}
// Get the io switchboard address from the `containerId`.
- //
- // NOTE: We explicitly don't want to check for the existence of
- // `containerId` in our `infos` struct. Otherwise we wouldn't be
- // able to reconnect to the io switchboard after agent restarts.
Result<unix::Address> address = getContainerIOSwitchboardAddress(
flags.runtime_dir, containerId);