summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/tenant_migration_recipient_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/tenant_migration_recipient_service.cpp')
-rw-r--r--src/mongo/db/repl/tenant_migration_recipient_service.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/repl/tenant_migration_recipient_service.cpp b/src/mongo/db/repl/tenant_migration_recipient_service.cpp
index d36970851b1..5f4e7cc0f7c 100644
--- a/src/mongo/db/repl/tenant_migration_recipient_service.cpp
+++ b/src/mongo/db/repl/tenant_migration_recipient_service.cpp
@@ -1036,7 +1036,6 @@ void TenantMigrationRecipientService::Instance::_createOplogBuffer() {
_donorOplogBuffer = std::move(bufferCollection);
}
- stdx::unique_lock lk(_mutex);
invariant(_stateDoc.getStartFetchingDonorOpTime());
{
// Ensure we are primary when trying to startup and create the oplog buffer collection.