summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbhelpers.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-02-13 12:57:29 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-02-13 17:18:20 -0500
commitf8af7207e2359a119b29b6d4e4c6945cc0bf1a8a (patch)
treeab3a58e47fc318f743a68b1ea9d283c6e439b6fb /src/mongo/db/dbhelpers.cpp
parentd3b53c3acae86649f56b44c47258b38e76023457 (diff)
downloadmongo-f8af7207e2359a119b29b6d4e4c6945cc0bf1a8a.tar.gz
SERVER-29908 Create skeleton libraries for the sharding subsystem
Splits the sharding sybsystem into 3 main libraries, which are currently mostly empty, but we will start moving code from all the other existing libraries into them. The libraries are: s/sharding_api, db/s/sharding_api and db/s/sharding_runtime
Diffstat (limited to 'src/mongo/db/dbhelpers.cpp')
-rw-r--r--src/mongo/db/dbhelpers.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mongo/db/dbhelpers.cpp b/src/mongo/db/dbhelpers.cpp
index 966d8a0c06c..d8645f93f36 100644
--- a/src/mongo/db/dbhelpers.cpp
+++ b/src/mongo/db/dbhelpers.cpp
@@ -35,9 +35,7 @@
#include <boost/filesystem/operations.hpp>
#include <fstream>
-#include "mongo/db/catalog/collection.h"
#include "mongo/db/catalog/index_create.h"
-#include "mongo/db/db.h"
#include "mongo/db/db_raii.h"
#include "mongo/db/exec/working_set_common.h"
#include "mongo/db/index/btree_access_method.h"
@@ -54,11 +52,8 @@
#include "mongo/db/query/get_executor.h"
#include "mongo/db/query/internal_plans.h"
#include "mongo/db/query/query_planner.h"
-#include "mongo/db/range_arithmetic.h"
#include "mongo/db/repl/repl_client_info.h"
-#include "mongo/db/repl/replication_coordinator_global.h"
-#include "mongo/db/s/collection_metadata.h"
-#include "mongo/db/s/collection_sharding_state.h"
+#include "mongo/db/repl/replication_coordinator.h"
#include "mongo/db/s/sharding_state.h"
#include "mongo/db/service_context.h"
#include "mongo/db/storage/data_protector.h"
@@ -74,15 +69,12 @@
namespace mongo {
using std::unique_ptr;
-using std::endl;
using std::ios_base;
using std::ofstream;
using std::set;
using std::string;
using std::stringstream;
-using logger::LogComponent;
-
/* fetch a single object from collection ns that matches query
set your db SavedContext first
*/