summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/balancer/balancer.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-12-27 13:11:00 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-12-28 21:46:54 -0500
commit10e3ce2d905ca3afc1e5949da2daa3353740171a (patch)
tree0f532002ff244bac41b652daf6c2c1e783a3a25e /src/mongo/db/s/balancer/balancer.cpp
parent800f84351f3f4f07aadf84b08be68f6be44fcfca (diff)
downloadmongo-10e3ce2d905ca3afc1e5949da2daa3353740171a.tar.gz
SERVER-28992 Get rid of unused code from the write commands tests
Diffstat (limited to 'src/mongo/db/s/balancer/balancer.cpp')
-rw-r--r--src/mongo/db/s/balancer/balancer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/balancer/balancer.cpp b/src/mongo/db/s/balancer/balancer.cpp
index 036cb89cb75..99fed7b8737 100644
--- a/src/mongo/db/s/balancer/balancer.cpp
+++ b/src/mongo/db/s/balancer/balancer.cpp
@@ -623,7 +623,7 @@ void Balancer::_splitOrMarkJumbo(OperationContext* opCtx,
Grid::get(opCtx)->catalogCache()->getShardedCollectionRoutingInfoWithRefresh(opCtx, nss));
const auto cm = routingInfo.cm().get();
- auto chunk = cm->findIntersectingChunkWithSimpleCollation(minKey);
+ const auto chunk = cm->findIntersectingChunkWithSimpleCollation(minKey);
try {
const auto splitPoints = uassertStatusOK(shardutil::selectChunkSplitPoints(