diff options
author | Dwight <dwight@10gen.com> | 2010-09-28 17:18:36 -0400 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2010-09-28 17:18:36 -0400 |
commit | dbd32482a6ef5b4e305126bd30a329c63aa973b9 (patch) | |
tree | a0fbf9c6652ef5c20a36345622cc740ecfc5d55f /db/dbcommands.cpp | |
parent | c9885b8d8b30f72e268076c1f8a366baa23bd4a6 (diff) | |
download | mongo-dbd32482a6ef5b4e305126bd30a329c63aa973b9.tar.gz |
durability more work on declaring intent to write in the code
Diffstat (limited to 'db/dbcommands.cpp')
-rw-r--r-- | db/dbcommands.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/dbcommands.cpp b/db/dbcommands.cpp index 28f0ebb6705..e80802a8f52 100644 --- a/db/dbcommands.cpp +++ b/db/dbcommands.cpp @@ -501,6 +501,7 @@ namespace mongo { BackgroundOperation::assertNoBgOpInProgForNs(ns); + d = dur::writing(d); d->aboutToDeleteAnIndex(); /* there may be pointers pointing at keys in the btree(s). kill them. */ |