summaryrefslogtreecommitdiff
path: root/src/mongo/s/sharding_initialization.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-04-13 15:12:00 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-04-19 10:23:28 -0400
commited3c29f86efcd7a7106bbc3426213f73b16872e9 (patch)
tree98c1c41ab38903fb8a6628646f0de911af26e035 /src/mongo/s/sharding_initialization.h
parentf489fa393f3d878cc2284d1b8d13243099140dff (diff)
downloadmongo-ed3c29f86efcd7a7106bbc3426213f73b16872e9.tar.gz
SERVER-23696 Consolidate balancer configuration into single class
In addition fixes linking dependencies.
Diffstat (limited to 'src/mongo/s/sharding_initialization.h')
-rw-r--r--src/mongo/s/sharding_initialization.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/s/sharding_initialization.h b/src/mongo/s/sharding_initialization.h
index 9e4e1de346d..eeb1763df70 100644
--- a/src/mongo/s/sharding_initialization.h
+++ b/src/mongo/s/sharding_initialization.h
@@ -28,6 +28,8 @@
#pragma once
+#include <cstdint>
+
namespace mongo {
class ConnectionString;
@@ -39,7 +41,8 @@ class Status;
* CatalogManager, ShardingRegistry, and grid objects.
*/
Status initializeGlobalShardingStateForMongos(OperationContext* txn,
- const ConnectionString& configCS);
+ const ConnectionString& configCS,
+ uint64_t maxChunkSizeBytes);
Status initializeGlobalShardingStateForMongod(OperationContext* txn,
const ConnectionString& configCS);