diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-12-27 13:11:00 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-12-28 21:46:54 -0500 |
commit | 10e3ce2d905ca3afc1e5949da2daa3353740171a (patch) | |
tree | 0f532002ff244bac41b652daf6c2c1e783a3a25e /src/mongo/db/s/balancer/balancer.cpp | |
parent | 800f84351f3f4f07aadf84b08be68f6be44fcfca (diff) | |
download | mongo-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.cpp | 2 |
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( |