summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.cpp
diff options
context:
space:
mode:
authorBlake Oler <blake.oler@mongodb.com>2021-04-27 21:02:38 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-29 16:02:14 +0000
commit71b7bfbd35c779d59d5d24db860513aaf3c9e365 (patch)
treed962ab458ce364c4dbef390b4e2b3ffae59077c8 /src/mongo/db/namespace_string.cpp
parent67db15323c295c19fc42af721dd741dd18a8dbb8 (diff)
downloadmongo-71b7bfbd35c779d59d5d24db860513aaf3c9e365.tar.gz
SERVER-55873 Force secondaries to apply each write to config.localReshardingOperations.donor in its own batch
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 d8e0ad191f4..6f1b7c63622 100644
--- a/src/mongo/db/namespace_string.cpp
+++ b/src/mongo/db/namespace_string.cpp
@@ -192,6 +192,7 @@ bool NamespaceString::isLegalClientSystemNS(
*/
bool NamespaceString::mustBeAppliedInOwnOplogBatch() const {
return isSystemDotViews() || isServerConfigurationCollection() || isPrivilegeCollection() ||
+ _ns == kDonorReshardingOperationsNamespace.ns() ||
_ns == kForceOplogBatchBoundaryNamespace.ns();
}