summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp
diff options
context:
space:
mode:
authorChristopher Caplinger <christopher.caplinger@mongodb.com>2022-01-05 22:32:26 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-05 23:11:11 +0000
commit3ad8827a2f8763f4ff2eac719e6b0420f0627b33 (patch)
tree8765d1f78efbd308d2e2b776afcdded6202ded03 /src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp
parentad4f490665681d18c1291ce52e8ba6a01f20788b (diff)
downloadmongo-3ad8827a2f8763f4ff2eac719e6b0420f0627b33.tar.gz
SERVER-61131: Store backup cursor results and set state to 'learned filenames'
Diffstat (limited to 'src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp')
-rw-r--r--src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp b/src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp
index 1c741c5d914..3de36b59ce3 100644
--- a/src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp
+++ b/src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp
@@ -125,7 +125,7 @@ void TenantMigrationRecipientOpObserver::onUpdate(OperationContext* opCtx,
<< "Bad state " << TenantMigrationRecipientState_serializer(state)
<< " for protocol '" << MigrationProtocol_serializer(protocol)
<< "'",
- protocol == MigrationProtocolEnum::kMultitenantMigrations);
+ protocol == MigrationProtocolEnum::kShardMerge);
break;
case TenantMigrationRecipientStateEnum::kStarted:
createAccessBlockerIfNeeded(opCtx, recipientStateDoc);