summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/tenant_migration_recipient_op_observer.cpp
diff options
context:
space:
mode:
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);