diff options
author | Kristina <kristina@10gen.com> | 2012-07-25 14:35:07 -0400 |
---|---|---|
committer | Kristina <kristina@10gen.com> | 2012-07-26 11:27:57 -0400 |
commit | f7fe1378882ddc992ccf9eff8be245336a97c4c3 (patch) | |
tree | 9d6878f6479ef56e67e8ee5695bf2e846198bad5 /src/mongo/db/prefetch.cpp | |
parent | 674079326782d372bd30aa2b5c2839e40415e3ee (diff) | |
download | mongo-f7fe1378882ddc992ccf9eff8be245336a97c4c3.tar.gz |
Make prefetch not throw any exceptions SERVER-6589
Diffstat (limited to 'src/mongo/db/prefetch.cpp')
-rw-r--r-- | src/mongo/db/prefetch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/prefetch.cpp b/src/mongo/db/prefetch.cpp index df22063cc0b..1a4a5ec8a73 100644 --- a/src/mongo/db/prefetch.cpp +++ b/src/mongo/db/prefetch.cpp @@ -72,7 +72,7 @@ namespace mongo { for ( int indexNo = 0; indexNo < indexCount; indexNo++ ) { // This will page in all index pages for the given object. try { - fetchIndexInserters(/*out*/unusedKeys, inserter, nsd, indexNo, obj, unusedDl); + fetchIndexInserters(/*out*/unusedKeys, inserter, nsd, indexNo, obj, unusedDl, /*allowDups*/true); } catch (const DBException& e) { LOG(2) << "ignoring exception in prefetchIndexPages(): " << e.what() << endl; |