summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_builder.cpp
diff options
context:
space:
mode:
authorGeert Bosch <geert.bosch@mongodb.com>2014-06-30 16:12:03 -0400
committerGeert Bosch <geert.bosch@mongodb.com>2014-07-01 10:27:12 -0400
commitef3e85d4f5b67c039668cef805459e29711aa636 (patch)
treebced88a603d39d4d6cb3dc174c2ad19f8ad7dfaf /src/mongo/db/index_builder.cpp
parentf64357e485c8d46bd6fd393f7416df6117672de1 (diff)
downloadmongo-ef3e85d4f5b67c039668cef805459e29711aa636.tar.gz
SERVER-14085: Start using WriteUnitOfWork
Diffstat (limited to 'src/mongo/db/index_builder.cpp')
-rw-r--r--src/mongo/db/index_builder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/index_builder.cpp b/src/mongo/db/index_builder.cpp
index c99a51d15be..0486baf8abd 100644
--- a/src/mongo/db/index_builder.cpp
+++ b/src/mongo/db/index_builder.cpp
@@ -72,6 +72,7 @@ namespace mongo {
if ( !status.isOK() ) {
log() << "IndexBuilder could not build index: " << status.toString();
}
+ ctx.commit();
cc().shutdown();
}