0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-2631 missing commitIfNeeded in ~BtreeBuilder - 180?

This commit is contained in:
Dwight 2011-02-28 15:30:51 -05:00
parent 81d0154d41
commit 95e224e65f

View File

@ -1848,6 +1848,7 @@ namespace mongo {
string ns = idx.indexNamespace();
theDataFileMgr._deleteRecord(nsdetails(ns.c_str()), ns.c_str(), x.rec(), x);
x = next;
RARELY getDur().commitIfNeeded();
}
assert( idx.head.isNull() );
log(2) << "done rollback" << endl;