diff options
author | Eric Milkie <milkie@10gen.com> | 2014-10-02 16:17:25 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2014-10-03 15:39:19 -0400 |
commit | e0509e511bdbac2329d32a7238b51cd6b5ddd591 (patch) | |
tree | e566d6a137c55483e3a17200b1e4dbd67e1f5ead /src/mongo/db/prefetch.h | |
parent | d32dc5f88567b11eb503a8343cb8b4b3d8c68c76 (diff) | |
download | mongo-e0509e511bdbac2329d32a7238b51cd6b5ddd591.tar.gz |
SERVER-15312 move replIndexPrefetch parameter out of legacy and into Applier (BGSync)
Diffstat (limited to 'src/mongo/db/prefetch.h')
-rw-r--r-- | src/mongo/db/prefetch.h | 13 |
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 |