diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2017-03-07 16:26:17 -0500 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2017-03-09 11:47:04 -0500 |
commit | b299533d8357a6fbccc7a14f82064c5beef04da6 (patch) | |
tree | 5bad23939d0ae2796d49871e677e5277cc7b635f /src/mongo/s/catalog/type_collection.h | |
parent | e9b27a1967732235d5ab6e2b28de0dc333d82a2d (diff) | |
download | mongo-b299533d8357a6fbccc7a14f82064c5beef04da6.tar.gz |
SERVER-28120 persist config.collections entries on shards for the collections that the shards possess
Diffstat (limited to 'src/mongo/s/catalog/type_collection.h')
-rw-r--r-- | src/mongo/s/catalog/type_collection.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/mongo/s/catalog/type_collection.h b/src/mongo/s/catalog/type_collection.h index 06c51be3b55..b46937266e1 100644 --- a/src/mongo/s/catalog/type_collection.h +++ b/src/mongo/s/catalog/type_collection.h @@ -43,9 +43,26 @@ class StatusWith; /** - * This class represents the layout and contents of documents contained in the + * This class represents the layout and contents of documents contained in the config server's * config.collections collection. All manipulation of documents coming from that collection * should be done with this class. + * + * Expected config server config.collections collection format: + * { + * "_id" : "foo.bar", + * "lastmodEpoch" : ObjectId("58b6fd76132358839e409e47"), + * "lastmod" : ISODate("1970-02-19T17:02:47.296Z"), + * "dropped" : false, + * "key" : { + * "_id" : 1 + * }, + * "defaultCollation" : { + * "locale" : "fr_CA" + * }, + * "unique" : false, + * "noBalance" : false + * } + * */ class CollectionType { public: |