diff options
Diffstat (limited to 'src/mongo/db/repl/storage_interface_impl.cpp')
-rw-r--r-- | src/mongo/db/repl/storage_interface_impl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl.cpp b/src/mongo/db/repl/storage_interface_impl.cpp index d6c66ad51d9..a2dca57abdd 100644 --- a/src/mongo/db/repl/storage_interface_impl.cpp +++ b/src/mongo/db/repl/storage_interface_impl.cpp @@ -448,7 +448,8 @@ Status StorageInterfaceImpl::renameCollection(OperationContext* opCtx, auto newColl = autoDB.getDb()->getCollection(opCtx, toNS); if (newColl->uuid()) { - UUIDCatalog::get(opCtx).onRenameCollection(opCtx, newColl, newColl->uuid().get()); + UUIDCatalog::get(opCtx).onRenameCollection( + opCtx, [newColl] { return newColl; }, newColl->uuid().get()); } wunit.commit(); return status; |