summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/balancer/balancer.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-02-24 13:15:07 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-02-27 15:26:54 -0500
commit21c2b106d16d69590d46b02cf252bae8ed055b3d (patch)
tree970ac71edcf827f4ec69dc584cb6f0438df80dbc /src/mongo/db/s/balancer/balancer.cpp
parentc182228144f551c0a0d1f6d2ab0a23187ff9ac5a (diff)
downloadmongo-21c2b106d16d69590d46b02cf252bae8ed055b3d.tar.gz
SERVER-28106 Cleanup the contract of ChunkManager::findIntersectingChunk
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 da21d325e0e..fd798ecd665 100644
--- a/src/mongo/db/s/balancer/balancer.cpp
+++ b/src/mongo/db/s/balancer/balancer.cpp
@@ -615,7 +615,7 @@ void Balancer::_splitOrMarkJumbo(OperationContext* txn,
auto scopedCM = uassertStatusOK(ScopedChunkManager::refreshAndGet(txn, nss));
const auto cm = scopedCM.cm().get();
- auto chunk = cm->findIntersectingChunkWithSimpleCollation(txn, minKey);
+ auto chunk = cm->findIntersectingChunkWithSimpleCollation(minKey);
try {
const auto splitPoints = uassertStatusOK(shardutil::selectChunkSplitPoints(