diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2017-11-02 16:36:48 -0400 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2017-11-07 09:29:57 -0500 |
commit | 82448e638f736c505cf5caccbbefe058cddcf15f (patch) | |
tree | bd1f88d074f5bdf52ebf69c2f45f2aa467c507ad /src/mongo/db/namespace_string.cpp | |
parent | 5f3151dc48951aa552284559a55b75b5ee55fd4e (diff) | |
download | mongo-82448e638f736c505cf5caccbbefe058cddcf15f.tar.gz |
SERVER-29653 Drop admin.system.keys on CSRS downgrade from 3.6 fcv to 3.4 fcv
Diffstat (limited to 'src/mongo/db/namespace_string.cpp')
-rw-r--r-- | src/mongo/db/namespace_string.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/namespace_string.cpp b/src/mongo/db/namespace_string.cpp index 035228b65ad..970b0be8e2a 100644 --- a/src/mongo/db/namespace_string.cpp +++ b/src/mongo/db/namespace_string.cpp @@ -70,7 +70,6 @@ const string escapeTable[256] = { ".252", ".253", ".254", ".255"}; const char kServerConfiguration[] = "admin.system.version"; -const char kLogicalTimeKeysCollection[] = "admin.system.keys"; constexpr auto listCollectionsCursorCol = "$cmd.listCollections"_sd; constexpr auto listIndexesCursorNSPrefix = "$cmd.listIndexes."_sd; @@ -84,6 +83,7 @@ constexpr StringData NamespaceString::kLocalDb; constexpr StringData NamespaceString::kConfigDb; constexpr StringData NamespaceString::kSystemDotViewsCollectionName; constexpr StringData NamespaceString::kShardConfigCollectionsCollectionName; +constexpr StringData NamespaceString::kSystemKeysCollectionName; const NamespaceString NamespaceString::kServerConfigurationNamespace(kServerConfiguration); const NamespaceString NamespaceString::kSessionTransactionsTableNamespace( @@ -109,7 +109,7 @@ bool NamespaceString::isLegalClientSystemNS() const { return true; if (ns() == kServerConfiguration) return true; - if (ns() == kLogicalTimeKeysCollection) + if (ns() == kSystemKeysCollectionName) return true; if (ns() == "admin.system.new_users") return true; |