summaryrefslogtreecommitdiff
path: root/src/mongo/s/d_split.cpp
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2014-05-12 17:05:11 -0400
committerHari Khalsa <hkhalsa@10gen.com>2014-05-13 16:07:58 -0400
commitb3e8e45ea6f346f804161e1fe4043ba3e5850ba8 (patch)
tree4179ad2d0fbb673fc5d72b7a5e84c97c34fe053f /src/mongo/s/d_split.cpp
parenta6a0c243b6cd6a5d45c876ab100a21073c070a00 (diff)
downloadmongo-b3e8e45ea6f346f804161e1fe4043ba3e5850ba8.tar.gz
SERVER-13922 remove query yielding and some dbtemprelease
Diffstat (limited to 'src/mongo/s/d_split.cpp')
-rw-r--r--src/mongo/s/d_split.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/s/d_split.cpp b/src/mongo/s/d_split.cpp
index 26b6f2a8bb3..528f0067c6d 100644
--- a/src/mongo/s/d_split.cpp
+++ b/src/mongo/s/d_split.cpp
@@ -147,8 +147,6 @@ namespace mongo {
auto_ptr<Runner> runner(InternalPlanner::indexScan(collection, idx, min, max,
false, InternalPlanner::FORWARD));
- runner->setYieldPolicy(Runner::YIELD_AUTO);
-
// Find the 'missingField' value used to represent a missing document field in a key of
// this index.
// NOTE A local copy of 'missingField' is made because indices may be
@@ -393,7 +391,6 @@ namespace mongo {
set<BSONObj> tooFrequentKeys;
splitKeys.push_back(prettyKey(idx->keyPattern(), currKey.getOwned()).extractFields( keyPattern ) );
- runner->setYieldPolicy(Runner::YIELD_AUTO);
while ( 1 ) {
while (Runner::RUNNER_ADVANCED == state) {
currCount++;
@@ -439,7 +436,6 @@ namespace mongo {
runner.reset(InternalPlanner::indexScan(collection, idx, min, max,
false, InternalPlanner::FORWARD));
- runner->setYieldPolicy(Runner::YIELD_AUTO);
state = runner->getNext(&currKey, NULL);
}