summaryrefslogtreecommitdiff
path: root/src/mongo/db/prefetch.h
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2014-06-26 08:22:00 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2014-07-01 07:11:02 -0400
commitdb747740cc1edc0b9d789ecad961069fa9183cfe (patch)
tree91426fe4055c34cbdf11e2f6bb6adbac25155873 /src/mongo/db/prefetch.h
parent676af72da3eb3dc0b5b9581e3254a0ed385e1dbb (diff)
downloadmongo-db747740cc1edc0b9d789ecad961069fa9183cfe.tar.gz
SERVER-14405 remove getIndexPrefetchConfig calls from outside the repl namespace
Diffstat (limited to 'src/mongo/db/prefetch.h')
-rw-r--r--src/mongo/db/prefetch.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/prefetch.h b/src/mongo/db/prefetch.h
index 36310b40676..89ac800bea4 100644
--- a/src/mongo/db/prefetch.h
+++ b/src/mongo/db/prefetch.h
@@ -29,6 +29,7 @@
#include "mongo/db/jsobj.h"
#include "mongo/db/diskloc.h"
+#include "mongo/db/repl/repl_set_impl.h"
namespace mongo {
class Collection;
@@ -36,5 +37,8 @@ namespace mongo {
class OperationContext;
// page in both index and data pages for an op from the oplog
- void prefetchPagesForReplicatedOp(OperationContext* txn, Database* db, const BSONObj& op);
+ void prefetchPagesForReplicatedOp(OperationContext* txn,
+ Database* db,
+ const repl::ReplSetImpl::IndexPrefetchConfig& prefetchConfig,
+ const BSONObj& op);
}