Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Open a journal file on startup 180

  • Loading branch information...
commit 460d32f86ba837a4f1dd41cfeb65eddee41df65f 1 parent b2927d9
Mathias Stearn RedBeard0531 authored erh committed

Showing 2 changed files with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +1 0  db/dur_journal.cpp
  2. +1 1  db/dur_journalimpl.h
1  db/dur_journal.cpp
@@ -262,6 +262,7 @@ namespace mongo {
262 262 log() << "warning caught exception in preallocateFiles, continuing" << endl;
263 263 }
264 264 }
  265 + j.open();
265 266 }
266 267
267 268 void removeOldJournalFile(path p) {
2  db/dur_journalimpl.h
@@ -63,10 +63,10 @@ namespace mongo {
63 63 _open();
64 64 }
65 65
66   - private:
67 66 /** open a journal file to journal operations to. */
68 67 void open();
69 68
  69 + private:
70 70 void _open();
71 71 void closeCurrentJournalFile();
72 72 void removeUnneededJournalFiles();

0 comments on commit 460d32f

Please sign in to comment.
Something went wrong with that request. Please try again.