summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/balancer
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2017-11-27 16:22:37 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2017-11-28 10:37:21 -0500
commit1340d505df3eb777cbe1684d53c64848052b7151 (patch)
treeab359fd5f4bfa609ef682d96b629aa1c74e7edfc /src/mongo/db/s/balancer
parent2d2a0ebee73a4a1652ae1f1373b2aa47856ddb55 (diff)
downloadmongo-1340d505df3eb777cbe1684d53c64848052b7151.tar.gz
SERVER-29397 Ensure user inserted invalid config.tags documents cause the auto-balancer to error rather than invariant
Diffstat (limited to 'src/mongo/db/s/balancer')
-rw-r--r--src/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.cpp b/src/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.cpp
index 1fd2a2ef475..3654fcdcd8d 100644
--- a/src/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.cpp
+++ b/src/mongo/db/s/balancer/balancer_chunk_selection_policy_impl.cpp
@@ -59,7 +59,7 @@ namespace {
/**
* Does a linear pass over the information cached in the specified chunk manager and extracts chunk
- * distrubution and chunk placement information which is needed by the balancer policy.
+ * distribution and chunk placement information which is needed by the balancer policy.
*/
StatusWith<DistributionStatus> createCollectionDistributionStatus(
OperationContext* opCtx, const ShardStatisticsVector& allShards, ChunkManager* chunkMgr) {