diff options
author | Alberto Lerner <alerner@10gen.com> | 2012-12-20 20:28:41 -0500 |
---|---|---|
committer | Alberto Lerner <alerner@10gen.com> | 2012-12-21 17:53:05 -0500 |
commit | c98c4f07be6838fb98280756526d5eabf56f8aea (patch) | |
tree | 39b7cca07664c0807539a713f2e7b00f0a0d8946 /src/mongo/s | |
parent | 377ef5136dff3fc340df312f0c422f96d8256802 (diff) | |
download | mongo-c98c4f07be6838fb98280756526d5eabf56f8aea.tar.gz |
Eliminated unused header file.
Diffstat (limited to 'src/mongo/s')
-rw-r--r-- | src/mongo/s/default_version.cpp | 1 | ||||
-rw-r--r-- | src/mongo/s/server.cpp | 1 | ||||
-rw-r--r-- | src/mongo/s/shard_version.cpp | 2 | ||||
-rw-r--r-- | src/mongo/s/shard_version.h | 32 |
4 files changed, 0 insertions, 36 deletions
diff --git a/src/mongo/s/default_version.cpp b/src/mongo/s/default_version.cpp index 82368672a2e..cdbcd95bf1f 100644 --- a/src/mongo/s/default_version.cpp +++ b/src/mongo/s/default_version.cpp @@ -18,7 +18,6 @@ #include "pch.h" #include "s/util.h" -#include "shard_version.h" namespace mongo { diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp index f818686c5b3..376c13383c1 100644 --- a/src/mongo/s/server.cpp +++ b/src/mongo/s/server.cpp @@ -43,7 +43,6 @@ #include "balance.h" #include "grid.h" #include "cursors.h" -#include "shard_version.h" #include "../util/processinfo.h" #include "mongo/db/lasterror.h" #include "mongo/s/config_upgrade.h" diff --git a/src/mongo/s/shard_version.cpp b/src/mongo/s/shard_version.cpp index f507335c065..1dcfa7ad391 100644 --- a/src/mongo/s/shard_version.cpp +++ b/src/mongo/s/shard_version.cpp @@ -25,8 +25,6 @@ #include "shard.h" #include "writeback_listener.h" -#include "shard_version.h" - namespace mongo { // Global version manager diff --git a/src/mongo/s/shard_version.h b/src/mongo/s/shard_version.h deleted file mode 100644 index 7f723d670b1..00000000000 --- a/src/mongo/s/shard_version.h +++ /dev/null @@ -1,32 +0,0 @@ -// @file shard_version.h - -/** -* Copyright (C) 2010 10gen Inc. -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU Affero General Public License, version 3, -* as published by the Free Software Foundation. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU Affero General Public License for more details. -* -* You should have received a copy of the GNU Affero General Public License -* along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#pragma once - -namespace mongo { - - /* - * Install chunk shard version callbacks in shardconnection code. This activates - * the chunk shard version control that mongos needs. - * - * MUST be called before accepting any connections. - */ - void installChunkShardVersioning(); - - -} // namespace mongo |