diff options
author | Qingyang Chen <qingyang.chen@10gen.com> | 2015-08-06 15:20:19 -0400 |
---|---|---|
committer | Qingyang Chen <qingyang.chen@10gen.com> | 2015-08-13 14:18:55 -0400 |
commit | 7c808909a8c0a746ffd2d8153c90a77be8b85204 (patch) | |
tree | 988b67fed5c71f6906a6e7852688576a456fdf6d /src/mongo/db/commands/test_commands.cpp | |
parent | 9eadefd1f5e9f9a480f14fe5ad0b1b1838e96005 (diff) | |
download | mongo-7c808909a8c0a746ffd2d8153c90a77be8b85204.tar.gz |
SERVER-19466 TTLMonitor::doTTLForIndex() use IXSCAN => FETCH => DELETE
Diffstat (limited to 'src/mongo/db/commands/test_commands.cpp')
-rw-r--r-- | src/mongo/db/commands/test_commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/test_commands.cpp b/src/mongo/db/commands/test_commands.cpp index 733b3b19cee..aa36d2790c6 100644 --- a/src/mongo/db/commands/test_commands.cpp +++ b/src/mongo/db/commands/test_commands.cpp @@ -197,7 +197,7 @@ public: RecordId end; { std::unique_ptr<PlanExecutor> exec(InternalPlanner::collectionScan( - txn, nss.ns(), collection, InternalPlanner::BACKWARD)); + txn, nss.ns(), collection, PlanExecutor::YIELD_MANUAL, InternalPlanner::BACKWARD)); // We remove 'n' elements so the start is one past that for (int i = 0; i < n + 1; ++i) { PlanExecutor::ExecState state = exec->getNext(NULL, &end); |