diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-07-29 11:02:24 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-07-29 14:22:36 -0400 |
commit | a06c27a9887c9dd8fc43d9e7d8727a1840292911 (patch) | |
tree | bb88c00709b79e925458f2ce497a9b94f3c205f6 /src/mongo/s/strategy.h | |
parent | b0067ef44c6461beed332c8bbfc40ceb55d05d40 (diff) | |
download | mongo-a06c27a9887c9dd8fc43d9e7d8727a1840292911.tar.gz |
Revert "SERVER-19319 Send setShardVersion command after sharding a collection"
This reverts commit b0067ef44c6461beed332c8bbfc40ceb55d05d40.
Diffstat (limited to 'src/mongo/s/strategy.h')
-rw-r--r-- | src/mongo/s/strategy.h | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/src/mongo/s/strategy.h b/src/mongo/s/strategy.h index fc9568d5ec6..40d71f2fd4d 100644 --- a/src/mongo/s/strategy.h +++ b/src/mongo/s/strategy.h @@ -1,6 +1,5 @@ -// strategy.h -/* - * Copyright (C) 2010 10gen Inc. +/** + * Copyright (C) 2010-2014 MongoDB 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, @@ -18,25 +17,23 @@ * code of portions of this program with the OpenSSL library under certain * conditions as described in each individual source file and distribute * linked combinations including the program with the OpenSSL library. You - * must comply with the GNU Affero General Public License in all respects - * for all of the code used other than as permitted herein. If you modify - * file(s) with this exception, you may extend this exception to your - * version of the file(s), but you are not obligated to do so. If you do not - * wish to do so, delete this exception statement from your version. If you - * delete this exception statement from all source files in the program, - * then also delete it in the license file. + * must comply with the GNU Affero General Public License in all respects for + * all of the code used other than as permitted herein. If you modify file(s) + * with this exception, you may extend this exception to your version of the + * file(s), but you are not obligated to do so. If you do not wish to do so, + * delete this exception statement from your version. If you delete this + * exception statement from all source files in the program, then also delete + * it in the license file. */ - #pragma once -#include "chunk.h" -#include "request.h" +#include "mongo/client/connection_string.h" +#include "mongo/s/client/shard.h" +#include "mongo/s/request.h" namespace mongo { -class BatchItemRef; - /** * Legacy interface for processing client read/write/cmd requests. */ @@ -95,4 +92,5 @@ public: protected: static bool handleSpecialNamespaces(Request& r, QueryMessage& q); }; -} + +} // namespace mongo |