summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.cpp
diff options
context:
space:
mode:
authorChristopher Caplinger <christopher.caplinger@mongodb.com>2022-06-23 00:59:11 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-23 01:50:02 +0000
commit8d04153c3db149e9f6224e3c2cab31b8d66154fe (patch)
tree60389d86cf066e9bebf37ec3fac673bddf09dc9c /src/mongo/db/namespace_string.cpp
parent09d251fb165d7f5976ed707a3ed16d12f6da945f (diff)
downloadmongo-8d04153c3db149e9f6224e3c2cab31b8d66154fe.tar.gz
SERVER-66919: Serialize all writes to tenant migration namespaces
Diffstat (limited to 'src/mongo/db/namespace_string.cpp')
-rw-r--r--src/mongo/db/namespace_string.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.cpp b/src/mongo/db/namespace_string.cpp
index dd17cf16877..633ab3ce8ce 100644
--- a/src/mongo/db/namespace_string.cpp
+++ b/src/mongo/db/namespace_string.cpp
@@ -269,6 +269,7 @@ bool NamespaceString::mustBeAppliedInOwnOplogBatch() const {
return isSystemDotViews() || isServerConfigurationCollection() || isPrivilegeCollection() ||
_ns == kDonorReshardingOperationsNamespace.ns() ||
_ns == kForceOplogBatchBoundaryNamespace.ns() ||
+ _ns == kTenantMigrationDonorsNamespace.ns() ||
_ns == kTenantMigrationRecipientsNamespace.ns() || _ns == kConfigsvrShardsNamespace.ns();
}