summaryrefslogtreecommitdiff
path: root/src/mongo/db/prefetch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/prefetch.h')
-rw-r--r--src/mongo/db/prefetch.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/mongo/db/prefetch.h b/src/mongo/db/prefetch.h
index 89ac800bea4..97a826092e6 100644
--- a/src/mongo/db/prefetch.h
+++ b/src/mongo/db/prefetch.h
@@ -27,18 +27,15 @@
*/
#pragma once
-#include "mongo/db/jsobj.h"
-#include "mongo/db/diskloc.h"
-#include "mongo/db/repl/repl_set_impl.h"
-
namespace mongo {
- class Collection;
+ class BSONObj;
class Database;
class OperationContext;
+namespace repl {
- // page in both index and data pages for an op from the oplog
+ // page in possible index and/or data pages for an op from the oplog
void prefetchPagesForReplicatedOp(OperationContext* txn,
Database* db,
- const repl::ReplSetImpl::IndexPrefetchConfig& prefetchConfig,
const BSONObj& op);
-}
+} // namespace repl
+} // namespace mongo