diff options
Diffstat (limited to 'src/mongo/db/prefetch.cpp')
-rw-r--r-- | src/mongo/db/prefetch.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/prefetch.cpp b/src/mongo/db/prefetch.cpp index 14a1d5a1bd1..7634b2d862a 100644 --- a/src/mongo/db/prefetch.cpp +++ b/src/mongo/db/prefetch.cpp @@ -117,16 +117,16 @@ namespace mongo { void prefetchIndexPages(Collection* collection, const BSONObj& obj) { DiskLoc unusedDl; // unused BSONObjSet unusedKeys; - replset::ReplSetImpl::IndexPrefetchConfig prefetchConfig = - replset::theReplSet->getIndexPrefetchConfig(); + repl::ReplSetImpl::IndexPrefetchConfig prefetchConfig = + repl::theReplSet->getIndexPrefetchConfig(); // do we want prefetchConfig to be (1) as-is, (2) for update ops only, or (3) configured per op type? // One might want PREFETCH_NONE for updates, but it's more rare that it is a bad idea for inserts. // #3 (per op), a big issue would be "too many knobs". switch (prefetchConfig) { - case replset::ReplSetImpl::PREFETCH_NONE: + case repl::ReplSetImpl::PREFETCH_NONE: return; - case replset::ReplSetImpl::PREFETCH_ID_ONLY: + case repl::ReplSetImpl::PREFETCH_ID_ONLY: { TimerHolder timer( &prefetchIndexStats); // on the update op case, the call to prefetchRecordPages will touch the _id index. @@ -144,7 +144,7 @@ namespace mongo { } break; } - case replset::ReplSetImpl::PREFETCH_ALL: + case repl::ReplSetImpl::PREFETCH_ALL: { // indexCount includes all indexes, including ones // in the process of being built |