summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/commands/rename_collection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands/rename_collection.cpp b/src/mongo/db/commands/rename_collection.cpp
index 8aaf0052948..8fe0e17c5b1 100644
--- a/src/mongo/db/commands/rename_collection.cpp
+++ b/src/mongo/db/commands/rename_collection.cpp
@@ -258,6 +258,7 @@ namespace mongo {
errmsg = s.toString();
break;
}
+ getDur().commitIfNeeded();
}
}