summaryrefslogtreecommitdiff
path: root/src/mongo/s/sharding_initialization.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/sharding_initialization.h')
-rw-r--r--src/mongo/s/sharding_initialization.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/s/sharding_initialization.h b/src/mongo/s/sharding_initialization.h
index 56c5f652ddd..5af0cc6f265 100644
--- a/src/mongo/s/sharding_initialization.h
+++ b/src/mongo/s/sharding_initialization.h
@@ -90,6 +90,12 @@ Status initializeGlobalShardingState(OperationContext* opCtx,
Status waitForShardRegistryReload(OperationContext* opCtx);
/**
+ * Pre-caches mongod routing info for the calling process.
+ */
+
+Status preCacheMongosRoutingInfo(OperationContext* opCtx);
+
+/**
* Warms up connections to shards with best effort strategy.
*/