summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.h
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2018-04-03 13:30:30 -0400
committerjannaerin <golden.janna@gmail.com>2018-04-05 20:29:05 -0400
commit7a48a263485a585dac1e1289c830eafd35a3d54b (patch)
tree38544c586218bfa72bf7fd842c3ed6019e788ae3 /src/mongo/db/namespace_string.h
parent265a38952f11a5d9a6144a22f10dc59b138e0b69 (diff)
downloadmongo-7a48a263485a585dac1e1289c830eafd35a3d54b.tar.gz
SERVER-34145 Persist database version on shard
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r--src/mongo/db/namespace_string.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h
index 3e5a0d07793..f9ee71c2637 100644
--- a/src/mongo/db/namespace_string.h
+++ b/src/mongo/db/namespace_string.h
@@ -65,6 +65,10 @@ public:
static constexpr StringData kShardConfigCollectionsCollectionName =
"config.cache.collections"_sd;
+ // Name for a shard's databases metadata collection, each document of which indicates the
+ // state of a specific database.
+ static constexpr StringData kShardConfigDatabasesCollectionName = "config.cache.databases"_sd;
+
// Name for causal consistency's key collection.
static constexpr StringData kSystemKeysCollectionName = "admin.system.keys"_sd;