summaryrefslogtreecommitdiff
path: root/db/dur.cpp
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2010-12-26 11:17:07 -0500
committerdwight <dwight@10gen.com>2010-12-26 11:17:07 -0500
commitda18488b48eb41538344e6c3cef995d2ef8b189e (patch)
tree214390b418dc00b2009bbbcfae3299d2e4fc2fae /db/dur.cpp
parentf35b33da44147deeb664eb0f2b8bcc696be5bcce (diff)
downloadmongo-da18488b48eb41538344e6c3cef995d2ef8b189e.tar.gz
organizing
Diffstat (limited to 'db/dur.cpp')
-rw-r--r--db/dur.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/db/dur.cpp b/db/dur.cpp
index eb9844d4aae..fd88f8fe487 100644
--- a/db/dur.cpp
+++ b/db/dur.cpp
@@ -369,17 +369,7 @@ namespace mongo {
// (ok to crash after that)
commitJob.notifyCommitted();
-#if 0
- // write the noted write intent entries to the data files.
- // this has to come after writing to the journal, obviously...
- MongoFile::markAllWritable(); // for _DEBUG. normally we don't write in a read lock
WRITETODATAFILES();
- if (!dbMutex.isWriteLocked())
- MongoFile::unmarkAllWritable();
-#else
- RecoveryJob::get().processSection(commitJob._ab.buf(), commitJob._ab.len(), false);
- debugValidateMapsMatch();
-#endif
commitJob.reset();