@@ -198,8 +198,7 @@ to support sharding:
198198 {
199199 "_id" : "mydb.foo-a_\"cat\"",
200200 "lastmod" : Timestamp(2, 1),
201- "lastmodEpoch" : ObjectId("5d8aa9fbe7a2f52c300e8e6f"),
202- "ns" : "mydb.foo",
201+ "uuid": "c025d039-e626-435e-b2d2-c1d436038041",
203202 "min" : {
204203 "animal" : "cat"
205204 },
@@ -228,8 +227,8 @@ to support sharding:
228227
229228 {
230229 "_id" : "records.pets",
231- "lastmod" : ISODate("1970-01-16T15:00:58.107Z "),
232- "dropped" : false ,
230+ "lastmod" : ISODate("2021-07-21T15:48:15.193Z "),
231+ "timestamp": Timestamp(1626882495, 1) ,
233232 "key" : {
234233 "a" : 1
235234 },
@@ -251,9 +250,9 @@ to support sharding:
251250
252251 .. code-block:: javascript
253252
254- { "_id" : "test", "primary" : "shardA", "partitioned" : true, "version" : { "uuid" : UUID("516a5f79-5eb9-4844-8ee9-b8e9de91b760"), "lastMod" : 1 } }
255- { "_id" : "hr", "primary" : "shardA", "partitioned" : false, "version" : { "uuid" : UUID("8e39d61d-6259-4c33-a5ed-bcd2ae317b6f"), "lastMod" : 1 } }
256- { "_id" : "reporting", "primary" : "shardB", "partitioned" : false, "version" : { "uuid" : UUID("07c63242-51b3-460c-865f-a67b3372d792"), "lastMod" : 1 } }
253+ { "_id" : "test", "primary" : "shardA", "partitioned" : true, "version" : { "uuid" : UUID("516a5f79-5eb9-4844-8ee9-b8e9de91b760"), "timestamp" : Timestamp(1626894204, 1), " lastMod" : 1 } }
254+ { "_id" : "hr", "primary" : "shardA", "partitioned" : false, "version" : { "uuid" : UUID("8e39d61d-6259-4c33-a5ed-bcd2ae317b6f"), "timestamp" : Timestamp(1626895015, 1), " lastMod" : 1 } }
255+ { "_id" : "reporting", "primary" : "shardB", "partitioned" : false, "version" : { "uuid" : UUID("07c63242-51b3-460c-865f-a67b3372d792"), "timestamp" : Timestamp(1626895826, 1), " lastMod" : 1 } }
257256
258257 The method :method:`sh.status()` returns this information in the
259258 :ref:`sharding-status-databases-fields` section.
0 commit comments