summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.h
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2018-03-05 09:31:16 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2018-03-16 12:02:15 -0400
commit906c8056bdab9ed6270e445927b24dd8ef2618aa (patch)
tree2e1f890adbf29d287342d3402c3e76209a63e336 /src/mongo/db/namespace_string.h
parentfafb34dda41840937f062ab0a48fd784d63b8803 (diff)
downloadmongo-906c8056bdab9ed6270e445927b24dd8ef2618aa.tar.gz
SERVER-33562 Move FeatureCompatibilityVersion::kCollection/kDatabase into namespace_string.h
and clean up some file dependencies
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r--src/mongo/db/namespace_string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h
index ad55b40aff6..a8fac0a2a58 100644
--- a/src/mongo/db/namespace_string.h
+++ b/src/mongo/db/namespace_string.h
@@ -72,7 +72,7 @@ public:
// running as a replica set. Documents in this collection should represent some configuration
// state of the server, which needs to be recovered/consulted at startup. Each document in this
// namespace should have its _id set to some string, which meaningfully describes what it
- // represents.
+ // represents. For example, 'shardIdentity' and 'featureCompatibilityVersion'.
static const NamespaceString kServerConfigurationNamespace;
// Namespace for storing the transaction information for each session
@@ -224,7 +224,7 @@ public:
bool isSystemDotViews() const {
return coll() == kSystemDotViewsCollectionName;
}
- bool isAdminDotSystemDotVersion() const {
+ bool isServerConfigurationCollection() const {
return (db() == kAdminDb) && (coll() == "system.version");
}
bool isConfigDB() const {