diff options
Diffstat (limited to 'src/mongo/db/repl/initial_sync.h')
-rw-r--r-- | src/mongo/db/repl/initial_sync.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mongo/db/repl/initial_sync.h b/src/mongo/db/repl/initial_sync.h index 0840a9a261a..3672ceb82e9 100644 --- a/src/mongo/db/repl/initial_sync.h +++ b/src/mongo/db/repl/initial_sync.h @@ -33,21 +33,21 @@ namespace mongo { namespace repl { - class BackgroundSyncInterface; +class BackgroundSyncInterface; + +/** + * Initial clone and sync + */ +class InitialSync : public SyncTail { +public: + virtual ~InitialSync(); + InitialSync(BackgroundSyncInterface* q); /** - * Initial clone and sync + * applies up to endOpTime, fetching missing documents as needed. */ - class InitialSync : public SyncTail { - public: - virtual ~InitialSync(); - InitialSync(BackgroundSyncInterface *q); - - /** - * applies up to endOpTime, fetching missing documents as needed. - */ - void oplogApplication(OperationContext* txn, const OpTime& endOpTime); - }; + void oplogApplication(OperationContext* txn, const OpTime& endOpTime); +}; -} // namespace repl -} // namespace mongo +} // namespace repl +} // namespace mongo |