summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.cpp
diff options
context:
space:
mode:
authorPierlauro Sciarelli <pierlauro.sciarelli@mongodb.com>2022-05-20 06:39:57 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-05-20 07:59:22 +0000
commit1391cc6cdd8968ee8ce4336a0d566e76906efcc5 (patch)
tree93fc4e2ad5fd2e5a705d63583acf82c7cdccef9b /src/mongo/db/namespace_string.cpp
parent25c36e3fee2303b41a8ca60acd4a07b62c45725e (diff)
downloadmongo-1391cc6cdd8968ee8ce4336a0d566e76906efcc5.tar.gz
Revert "SERVER-65209 Skeleton code to create change collection."
This reverts commit f76ed79b1fe31c0f22bad3590699c2658638681d.
Diffstat (limited to 'src/mongo/db/namespace_string.cpp')
-rw-r--r--src/mongo/db/namespace_string.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/mongo/db/namespace_string.cpp b/src/mongo/db/namespace_string.cpp
index 525dd9c6724..26f9249996e 100644
--- a/src/mongo/db/namespace_string.cpp
+++ b/src/mongo/db/namespace_string.cpp
@@ -243,10 +243,6 @@ bool NamespaceString::isLegalClientSystemNS(
return true;
}
- if (isChangeStreamChangeCollection()) {
- return true;
- }
-
return false;
}
@@ -404,10 +400,6 @@ bool NamespaceString::isChangeStreamPreImagesCollection() const {
return ns() == kChangeStreamPreImagesNamespace.ns();
}
-bool NamespaceString::isChangeStreamChangeCollection() const {
- return db() == kConfigDb && coll() == kChangeStreamChangeCollection;
-}
-
bool NamespaceString::isConfigImagesCollection() const {
return ns() == kConfigImagesNamespace.ns();
}
@@ -432,8 +424,7 @@ NamespaceString NamespaceString::getTimeseriesViewNamespace() const {
}
bool NamespaceString::isImplicitlyReplicated() const {
- if (isChangeStreamPreImagesCollection() || isConfigImagesCollection() || isChangeCollection() ||
- isChangeStreamChangeCollection()) {
+ if (isChangeStreamPreImagesCollection() || isConfigImagesCollection() || isChangeCollection()) {
// Implicitly replicated namespaces are replicated, although they only replicate a subset of
// writes.
invariant(isReplicated());