diff options
author | Geert Bosch <geert.bosch@mongodb.com> | 2014-06-30 16:12:03 -0400 |
---|---|---|
committer | Geert Bosch <geert.bosch@mongodb.com> | 2014-07-01 10:27:12 -0400 |
commit | ef3e85d4f5b67c039668cef805459e29711aa636 (patch) | |
tree | bced88a603d39d4d6cb3dc174c2ad19f8ad7dfaf /src/mongo/db/index_builder.cpp | |
parent | f64357e485c8d46bd6fd393f7416df6117672de1 (diff) | |
download | mongo-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.cpp | 1 |
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(); } |