diff options
author | Christopher Caplinger <christopher.caplinger@mongodb.com> | 2022-08-04 17:08:55 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-08-04 18:36:19 +0000 |
commit | aef31ad1a0d47dcd3851161a269d5cc76f83f819 (patch) | |
tree | f1373aeb057ea9f4bad30de051ab351691888204 /src/mongo/db/commands | |
parent | 2bddb8f08fbeb742f30e0489115f0c5eb5a4b97a (diff) | |
download | mongo-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.cpp | 2 |
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)); |