summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands
diff options
context:
space:
mode:
authorChristopher Caplinger <christopher.caplinger@mongodb.com>2022-08-04 17:08:55 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-04 18:36:19 +0000
commitaef31ad1a0d47dcd3851161a269d5cc76f83f819 (patch)
treef1373aeb057ea9f4bad30de051ab351691888204 /src/mongo/db/commands
parent2bddb8f08fbeb742f30e0489115f0c5eb5a4b97a (diff)
downloadmongo-aef31ad1a0d47dcd3851161a269d5cc76f83f819.tar.gz
SERVER-64616: Install recipient access blocker when applying "create" entry
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r--src/mongo/db/commands/write_commands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/write_commands.cpp b/src/mongo/db/commands/write_commands.cpp
index 14d5ea2a33e..1576d9e93c0 100644
--- a/src/mongo/db/commands/write_commands.cpp
+++ b/src/mongo/db/commands/write_commands.cpp
@@ -212,7 +212,7 @@ write_ops::UpdateOpEntry makeTimeseriesUpdateOpEntry(
}
write_ops::UpdateModification::DiffOptions options;
options.mustCheckExistenceForInsertOperations =
- static_cast<bool>(repl::tenantMigrationRecipientInfo(opCtx));
+ static_cast<bool>(repl::tenantMigrationInfo(opCtx));
write_ops::UpdateModification u(
updateBuilder.obj(), write_ops::UpdateModification::DeltaTag{}, options);
write_ops::UpdateOpEntry update(BSON("_id" << batch->bucket().id), std::move(u));